ui: Recognize 'guix help'.

Suggested by Andy Wingo.

* guix/ui.scm (guix-main): Add "help" case.
This commit is contained in:
Ludovic Courtès 2015-04-03 22:10:02 +02:00
parent 7c3d72f22d
commit 849eebbb38
1 changed files with 2 additions and 0 deletions

View File

@ -868,6 +868,8 @@ found."
(format (current-error-port)
(_ "guix: unrecognized option '~a'~%") o)
(show-guix-usage))
(("help" args ...)
(show-guix-help))
((command args ...)
(apply run-guix-command
(string->symbol command)