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
1 changed files with 3 additions and 0 deletions
|
@ -1191,6 +1191,9 @@ (define option? (cut string-prefix? "-" <>))
|
|||
(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 a new issue