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:
Evan Richter 2025-03-18 13:54:23 -06:00 committed by clbot
parent a04c73ca83
commit 388c3ae018

View file

@ -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))]