Make "guix -h" work as "guix --help".

* guix/ui.scm (guix-main): have the same behaviour for the "-h" and "--help"
  options.
This commit is contained in:
Cyril Roelandt 2013-08-15 21:03:32 +02:00
parent 1b50671ee1
commit e12b3eb93e
1 changed files with 1 additions and 1 deletions

View File

@ -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"))