From bfda2997c8d4f0ac14f1bd54f87cd320039cfd3d Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Sun, 21 Apr 2013 18:41:30 +0000 Subject: guix download: Add supported formats to '--help'. * guix/scripts/download.scm (show-help): Add supported formats. --- guix/scripts/download.scm | 9 ++++++--- 1 file 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")) -- cgit v1.2.3