~ruther/guix-local

2ab5fdc4b4b340ffabaeb582fa1b19e4836fc27e — Ludovic Courtès 10 years ago fc2d233
ui: 'guix help COMMAND' is like 'guix COMMAND --help'.

* guix/ui.scm (run-guix): Add ("help" COMMAND) case.
1 files changed, 3 insertions(+), 0 deletions(-)

M guix/ui.scm
M guix/ui.scm => guix/ui.scm +3 -0
@@ 1191,6 1191,9 @@ and signal handling has already been set up."
     (format (current-error-port)
             (_ "guix: unrecognized option '~a'~%") o)
     (show-guix-usage))
    (("help" command)
     (apply run-guix-command (string->symbol command)
            '("--help")))
    (("help" args ...)
     (show-guix-help))
    ((command args ...)