From 2ab5fdc4b4b340ffabaeb582fa1b19e4836fc27e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 10 Nov 2015 22:24:38 +0100 Subject: ui: 'guix help COMMAND' is like 'guix COMMAND --help'. * guix/ui.scm (run-guix): Add ("help" COMMAND) case. --- guix/ui.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'guix') diff --git a/guix/ui.scm b/guix/ui.scm index 312c2a01a1..581fb941f5 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -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 ...) -- cgit v1.2.3