From b634a2fca634a9c592036ec7e4abca8488dd7dd0 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 11 Nov 2024 12:28:52 -0600 Subject: [PATCH] fix short flags --- pkgs/oizys/src/oizys.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/oizys/src/oizys.nim b/pkgs/oizys/src/oizys.nim index 4397681..e75f1f6 100644 --- a/pkgs/oizys/src/oizys.nim +++ b/pkgs/oizys/src/oizys.nim @@ -27,6 +27,7 @@ hwylCli: - r [yes] yes: + - y T bool ? "skip all confirmation prompts" [minimal] @@ -38,6 +39,7 @@ hwylCli: preSub: setupLoggers(debug) updateContext(host, flake, debug, resetCache) + subcommands: --- build @@ -104,6 +106,7 @@ hwylCli: flags: ^[yes] preview: + - p T bool ? "show preview and exit" run: @@ -116,4 +119,4 @@ hwylCli: if yes or confirm("Proceed with system update?"): updateRepo() nixosRebuild("switch") - +