summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-03 22:10:02 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-03 22:58:49 +0200
commit849eebbb38dfc7241494899b49e7e28ee7d661c5 (patch)
tree73b2f0ea4c96499778fb27e89a61e2d0dc2308ba
parent7c3d72f22d71c08c31d1ca4a612820de30d7ef91 (diff)
downloadguix-849eebbb38dfc7241494899b49e7e28ee7d661c5.tar.gz
ui: Recognize 'guix help'.
Suggested by Andy Wingo.

* guix/ui.scm (guix-main): Add "help" case.
-rw-r--r--guix/ui.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/ui.scm b/guix/ui.scm
index 4929f93590..67c65aa14d 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -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)