diff options
author | zimoun <zimon.toutoune@gmail.com> | 2021-11-18 01:20:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-17 17:29:34 +0100 |
commit | 6e08f07f2032cd85cd67beadf7a91b5c26d0619d (patch) | |
tree | 4592e1b37ec9c16f068fd7cdaf3c3197a75086c1 /doc/guix.texi | |
parent | 155fc235b5e1b41b4665c782365dd2bf11beae9c (diff) | |
download | guix-6e08f07f2032cd85cd67beadf7a91b5c26d0619d.tar.gz |
guix hash: Support several files.
* guix/scripts/hash.scm (guix-hash): Allow several files. [file-hash]: Catch system-error. [formatted-hash]: New procedure. * tests/guix-hash.sh: Add test. * doc/guix.texi (Invoking guix hash): Mention "one or more files". Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 7b1a64deb9..f531985ee7 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -11713,13 +11713,13 @@ store. @cindex @command{guix hash} The @command{guix hash} command computes the hash of a file. It is primarily a convenience tool for anyone contributing to the -distribution: it computes the cryptographic hash of a file, which can be +distribution: it computes the cryptographic hash of one or more files, which can be used in the definition of a package (@pxref{Defining Packages}). The general syntax is: @example -guix hash @var{option} @var{file} +guix hash @var{option} @var{file} ... @end example When @var{file} is @code{-} (a hyphen), @command{guix hash} computes the |