From 65a952e9f0d75659d39f8a3b146753e291ee0a66 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 11 Nov 2024 14:59:54 -0600 Subject: [PATCH] fix clis for hwylcli --- src/hwylterm/bbansi.nim | 7 +++---- src/hwylterm/chooser.nim | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/hwylterm/bbansi.nim b/src/hwylterm/bbansi.nim index 4737b85..ff74b76 100644 --- a/src/hwylterm/bbansi.nim +++ b/src/hwylterm/bbansi.nim @@ -381,11 +381,10 @@ when isMainModule: version bbfmt"[yellow]bbansi version[/][red] ->[/] [bold]{version}[/]" hidden debug, testCard flags: - debug: - T bool - testCard: - T bool + debug "show debug" + testCard "show test card" style: + T string ? "set style for string" - "s" run: diff --git a/src/hwylterm/chooser.nim b/src/hwylterm/chooser.nim index 0f1498d..5a517b9 100644 --- a/src/hwylterm/chooser.nim +++ b/src/hwylterm/chooser.nim @@ -140,9 +140,9 @@ when isMainModule: """ hidden demo flags: - demo: - T bool + demo "show demo" separator: + T string help "separator to split items" short "s" run: