fix short flags

This commit is contained in:
Daylin Morgan 2024-11-11 12:28:52 -06:00
parent 3d663c381b
commit b634a2fca6
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -27,6 +27,7 @@ hwylCli:
- r - r
[yes] [yes]
yes: yes:
- y
T bool T bool
? "skip all confirmation prompts" ? "skip all confirmation prompts"
[minimal] [minimal]
@ -38,6 +39,7 @@ hwylCli:
preSub: preSub:
setupLoggers(debug) setupLoggers(debug)
updateContext(host, flake, debug, resetCache) updateContext(host, flake, debug, resetCache)
subcommands: subcommands:
--- build --- build
@ -104,6 +106,7 @@ hwylCli:
flags: flags:
^[yes] ^[yes]
preview: preview:
- p
T bool T bool
? "show preview and exit" ? "show preview and exit"
run: run:
@ -116,4 +119,4 @@ hwylCli:
if yes or confirm("Proceed with system update?"): if yes or confirm("Proceed with system update?"):
updateRepo() updateRepo()
nixosRebuild("switch") nixosRebuild("switch")