summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-01-10 00:34:13 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2022-01-10 00:34:49 +0100
commit19a4759cadf601f40d2a32efdbf6190d7341a8ca (patch)
treed0b2dfb810599edf305ac2e62a3572fda95a93eb
parent37746bb2eec37cf66472d9ecfb42bd7f14e0a7cc (diff)
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.
-rw-r--r--doc/guix.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 08e5bfa111..6996e17172 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11810,7 +11810,7 @@ following options:
Compute a hash using the specified @var{algorithm}, @code{sha256} by
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
@code{sha3-256} (@pxref{Hash Functions,,, guile-gcrypt, Guile-Gcrypt
Reference Manual}).
@@ -11829,7 +11829,7 @@ in the definitions of packages.
@item --recursive
@itemx -r
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}
@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
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 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
nar format).
@c FIXME: Replace xref above with xref to an ``Archive'' section when
@c it exists.
@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.
@end table
@@ -11870,7 +11870,7 @@ Reference}):
@example
$ git clone http://example.org/foo.git
$ cd foo
-$ guix hash -rx .
+$ guix hash -x --serializer=nar .
@end example
@end table