From 388c3ae018bc5a7b524b6a4b4c68dddd0cca2d1d Mon Sep 17 00:00:00 2001 From: Evan Richter Date: Tue, 18 Mar 2025 13:54:23 -0600 Subject: [PATCH] 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 Reviewed-by: Ryan Lahfa --- tools/magrathea/mg.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/magrathea/mg.scm b/tools/magrathea/mg.scm index 0418a94f0..35fdc608b 100644 --- a/tools/magrathea/mg.scm +++ b/tools/magrathea/mg.scm @@ -363,7 +363,7 @@ if you meant to pass these arguments to nix, please separate them with (define (main args) (match args - [() (print usage)] + [(or ("help") ()) (print usage)] [("build" . _) (build (cdr args))] [("shell" . _) (shell (cdr args))] [("path" . _) (path (cdr args))]