doc: Fix some typos.

* doc/guix.texi (Invoking guix hash): Fix a few typos today.

Reported by KarlJoad on #guix, and then we found more.
This commit is contained in:
Tobias Geerinckx-Rice 2022-01-10 00:34:13 +01:00
parent 37746bb2ee
commit 19a4759cad
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -11810,7 +11810,7 @@ following options:
Compute a hash using the specified @var{algorithm}, @code{sha256} by Compute a hash using the specified @var{algorithm}, @code{sha256} by
default. default.
@var{algorithm} must the name of a cryptographic hash algorithm @var{algorithm} must be the name of a cryptographic hash algorithm
supported by Libgcrypt @i{via} Guile-Gcrypt---e.g., @code{sha512} or supported by Libgcrypt @i{via} Guile-Gcrypt---e.g., @code{sha512} or
@code{sha3-256} (@pxref{Hash Functions,,, guile-gcrypt, Guile-Gcrypt @code{sha3-256} (@pxref{Hash Functions,,, guile-gcrypt, Guile-Gcrypt
Reference Manual}). Reference Manual}).
@ -11829,7 +11829,7 @@ in the definitions of packages.
@item --recursive @item --recursive
@itemx -r @itemx -r
This option is deprecated in favor of @option{--serializer}. It is a This option is deprecated in favor of @option{--serializer}. It is a
legacy alias for @var{type} sets to @code{nar}. legacy alias for that with @var{type} set to @code{nar}.
@item --serializer=@var{type} @item --serializer=@var{type}
@itemx -S @itemx -S
@ -11846,14 +11846,14 @@ Compute the hash of a ``normalized archive'' (or ``nar'') containing
@var{file}, including its children if it is a directory. Some of the @var{file}, including its children if it is a directory. Some of the
metadata of @var{file} is part of the archive; for instance, when metadata of @var{file} is part of the archive; for instance, when
@var{file} is a regular file, the hash is different depending on whether @var{file} is a regular file, the hash is different depending on whether
@var{file} is executable or not. Metadata such as time stamps has no @var{file} is executable or not. Metadata such as time stamps have no
impact on the hash (@pxref{Invoking guix archive}, for more info on the impact on the hash (@pxref{Invoking guix archive}, for more info on the
nar format). nar format).
@c FIXME: Replace xref above with xref to an ``Archive'' section when @c FIXME: Replace xref above with xref to an ``Archive'' section when
@c it exists. @c it exists.
@item git @item git
Compute the has of the file or directory as a Git ``tree'', following Compute the hash of the file or directory as a Git ``tree'', following
the same method as the Git version control system. the same method as the Git version control system.
@end table @end table
@ -11870,7 +11870,7 @@ Reference}):
@example @example
$ git clone http://example.org/foo.git $ git clone http://example.org/foo.git
$ cd foo $ cd foo
$ guix hash -rx . $ guix hash -x --serializer=nar .
@end example @end example
@end table @end table