From e12b3eb93eb8746438c8e74569c8196f2552f1d4 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Thu, 15 Aug 2013 21:03:32 +0200 Subject: Make "guix -h" work as "guix --help". * guix/ui.scm (guix-main): have the same behaviour for the "-h" and "--help" options. --- guix/ui.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/ui.scm') 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 @@ (define (option? str) (string-prefix? "-" str)) (format (current-error-port) (_ "guix: missing command name~%")) (show-guix-usage)) - (("--help") + ((or ("-h") ("--help")) (show-guix-help)) (("--version") (show-version-and-exit "guix")) -- cgit v1.2.3