summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2013-08-15 21:03:32 +0200
committerCyril Roelandt <tipecaml@gmail.com>2013-08-15 21:03:32 +0200
commite12b3eb93eb8746438c8e74569c8196f2552f1d4 (patch)
tree099b001decc3c2c9fea234809e45d1c948d334d9
parent1b50671ee18d3412251980c7d8a4528b10f18e73 (diff)
Make "guix -h" work as "guix --help".
* guix/ui.scm (guix-main): have the same behaviour for the "-h" and "--help" options.
-rw-r--r--guix/ui.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/ui.scm b/guix/ui.scm
index 2ee8c02306..9251d73f18 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -486,7 +486,7 @@ found."
(format (current-error-port)
(_ "guix: missing command name~%"))
(show-guix-usage))
- (("--help")
+ ((or ("-h") ("--help"))
(show-guix-help))
(("--version")
(show-version-and-exit "guix"))