feat(tools/magrathea): alias "help" to print usage
Change-Id: Ifb7eb534d33fc6b83bc0bb12c3c2ff5fe8744919 Reviewed-on: https://cl.snix.dev/c/snix/+/30120 Tested-by: besadii Autosubmit: Evan Richter <evanjrichter@gmail.com> Reviewed-by: Ryan Lahfa <masterancpp@gmail.com>
This commit is contained in:
parent
a04c73ca83
commit
388c3ae018
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ if you meant to pass these arguments to nix, please separate them with
|
||||||
|
|
||||||
(define (main args)
|
(define (main args)
|
||||||
(match args
|
(match args
|
||||||
[() (print usage)]
|
[(or ("help") ()) (print usage)]
|
||||||
[("build" . _) (build (cdr args))]
|
[("build" . _) (build (cdr args))]
|
||||||
[("shell" . _) (shell (cdr args))]
|
[("shell" . _) (shell (cdr args))]
|
||||||
[("path" . _) (path (cdr args))]
|
[("path" . _) (path (cdr args))]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue