guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: ui: 'guix help COMMAND' is like 'guix COMMAND --help'.


From: Ludovic Courtès
Subject: 04/04: ui: 'guix help COMMAND' is like 'guix COMMAND --help'.
Date: Tue, 10 Nov 2015 23:39:09 +0000

civodul pushed a commit to branch master
in repository guix.

commit 2ab5fdc4b4b340ffabaeb582fa1b19e4836fc27e
Author: Ludovic Courtès <address@hidden>
Date:   Tue Nov 10 22:24:38 2015 +0100

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

diff --git a/guix/ui.scm b/guix/ui.scm
index 312c2a0..581fb94 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 ...)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]