[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: guix hash: Fix version and help messages
From: |
guix-commits |
Subject: |
07/07: guix hash: Fix version and help messages |
Date: |
Wed, 28 Nov 2018 04:40:19 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit e91152e9f28ada896c875b51481faffbfba95869
Author: Tim Gesthuizen <address@hidden>
Date: Tue Nov 27 18:43:45 2018 +0100
guix hash: Fix version and help messages
ca719424455465fca4b872c371daf2a46de88b33 changes the name of the executable
to
be displayed by the --version and --help commands of `guix hash` to
"gcrypt hash".
This is reverted by this commit.
* guix/scripts/hash.scm (show-help): Change string literals
Signed-off-by: Ludovic Courtès <address@hidden>
---
guix/scripts/hash.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/guix/scripts/hash.scm b/guix/scripts/hash.scm
index 2bd2ac4..b8b2158 100644
--- a/guix/scripts/hash.scm
+++ b/guix/scripts/hash.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2012, 2013, 2014, 2016, 2017 Ludovic Courtès <address@hidden>
;;; Copyright © 2013 Nikita Karetnikov <address@hidden>
;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
+;;; Copyright © 2018 Tim Gesthuizen <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -44,7 +45,7 @@
`((format . ,bytevector->nix-base32-string)))
(define (show-help)
- (display (G_ "Usage: gcrypt hash [OPTION] FILE
+ (display (G_ "Usage: guix hash [OPTION] FILE
Return the cryptographic hash of FILE.
Supported formats: 'nix-base32' (default), 'base32', and 'base16' ('hex'
@@ -93,7 +94,7 @@ and 'hexadecimal' can be used as well).\n"))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args
- (show-version-and-exit "gcrypt hash")))))
+ (show-version-and-exit "guix hash")))))
- branch master updated (01e7ca5 -> e91152e), guix-commits, 2018/11/28
- 03/07: status: Report grafting derivations specially., guix-commits, 2018/11/28
- 02/07: grafts: Record metadata as derivation properties., guix-commits, 2018/11/28
- 01/07: derivations: Add properties., guix-commits, 2018/11/28
- 04/07: ui: 'show-what-to-build' reports grafts separately., guix-commits, 2018/11/28
- 06/07: channels: Add 'checkout->channel-instance'., guix-commits, 2018/11/28
- 07/07: guix hash: Fix version and help messages,
guix-commits <=
- 05/07: inferior: Add 'inferior-eval-with-store'., guix-commits, 2018/11/28