ui: 'guix help COMMAND' is like 'guix COMMAND --help'.
* guix/ui.scm (run-guix): Add ("help" COMMAND) case.
This commit is contained in:
parent
fc2d233964
commit
2ab5fdc4b4
@ -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 ...)
|
||||
|
Loading…
Reference in New Issue
Block a user