summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikita Karetnikov <nikita@karetnikov.org>2013-04-21 18:41:30 +0000
committerNikita Karetnikov <nikita@karetnikov.org>2013-04-21 19:04:24 +0000
commitbfda2997c8d4f0ac14f1bd54f87cd320039cfd3d (patch)
treea1bb9dbeb6915ed28b79320396a3f1c6dbac162a
parent238328c9901267ef32a8cd6edba1692ee4a4f1a5 (diff)
downloadguix-bfda2997c8d4f0ac14f1bd54f87cd320039cfd3d.tar.gz
guix download: Add supported formats to '--help'.
* guix/scripts/download.scm (show-help): Add supported formats.
-rw-r--r--guix/scripts/download.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/guix/scripts/download.scm b/guix/scripts/download.scm
index c5c56c5054..c8760454de 100644
--- a/guix/scripts/download.scm
+++ b/guix/scripts/download.scm
@@ -55,11 +55,14 @@ store path."
   `((format . ,bytevector->nix-base32-string)))
 
 (define (show-help)
-  (display (_ "Usage: guix download [OPTION]... URL
+  (display (_ "Usage: guix download [OPTION] URL
 Download the file at URL, add it to the store, and print its store path
-and the hash of its contents.\n"))
+and the hash of its contents.
+
+Supported formats: 'nix-base32' (default), 'base32', and 'base16'
+('hex' and 'hexadecimal' can be used as well).\n"))
   (format #t (_ "
-  -f, --format=FMT       write the hash in the given format (default: `nix-base32')"))
+  -f, --format=FMT       write the hash in the given format"))
   (newline)
   (display (_ "
   -h, --help             display this help and exit"))