aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2021-07-07 22:58:45 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-07-16 19:36:11 +0200
commitf3b20baa4d1375d053bcadd9b804f52556142656 (patch)
tree2c4b669c444ba5d0ebc9224978eb21c1080c5c98
parent68ce40cad7782e75d665283fbe67b330d9a6fdcd (diff)
downloadguix-f3b20baa4d1375d053bcadd9b804f52556142656.tar
guix-f3b20baa4d1375d053bcadd9b804f52556142656.tar.gz
substitute: Fix handling of short option "-h".
The short option was listed in the help-text, but not recognized.
-rwxr-xr-xguix/scripts/substitute.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 03115ffe44..c044e1d47a 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -777,7 +777,7 @@ default value."
(loop))))))
((or ("-V") ("--version"))
(show-version-and-exit "guix substitute"))
- (("--help")
+ ((or ("-h") ("--help"))
(show-help))
(opts
(leave (G_ "~a: unrecognized options~%") opts))))))