remove level of help indentation

This commit is contained in:
Daylin Morgan 2024-02-02 16:43:52 -06:00
parent c76de83a18
commit db30869eea
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -90,14 +90,15 @@ proc switch(c: OizysContext) =
const usage = """
oizys <cmd> [opts]
commands:
commands:
dry poor man's nix flake check
boot nixos-rebuild boot
switch nixos-rebuild switch
cache build and push to cachix
build build system flake
options:
options:
-h|--help show this help
--host hostname (current host)
-f|--flake path to flake ($FLAKE_PATH or $HOME/oizys)
@ -121,7 +122,7 @@ proc runCmd(c: OizysContext, cmd: string) =
proc parseFlag(c: var OizysContext, key, val: string) =
case key:
of "h","help":
of "h", "help":
echo usage; quit 0
of "host":
c.host = val