From 1412ad83095f013a7d739e1de430b2523455b546 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 14 Nov 2024 11:47:01 -0600 Subject: [PATCH] fixup builtin cli's --- src/hwylterm/bbansi.nim | 5 +++-- src/hwylterm/chooser.nim | 15 ++++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/hwylterm/bbansi.nim b/src/hwylterm/bbansi.nim index ff74b76..425fc4e 100644 --- a/src/hwylterm/bbansi.nim +++ b/src/hwylterm/bbansi.nim @@ -369,8 +369,9 @@ when isMainModule: hwylCli: name "bbansi" settings ShowHelp - usage "[bold]bbansi[/] [[[green]args...[/]] [[[faint]-h|-V[/]]" - description """ + help: + usage "[bold]bbansi[/] [[[green]args...[/]] [[[faint]-h|-V[/]]" + description """ bbansi "[[yellow] yellow text!" -> [yellow] yellow text![/] bbansi "[[bold red] bold red text[[/] plain text..." diff --git a/src/hwylterm/chooser.nim b/src/hwylterm/chooser.nim index 5a517b9..3438748 100644 --- a/src/hwylterm/chooser.nim +++ b/src/hwylterm/chooser.nim @@ -131,13 +131,14 @@ when isMainModule: hwylcli: name "hwylchoose" settings ShowHelp - usage "[bold]hwylchoose[/] [[[green]args...[/]] [[[faint]-h[/]]" - description """ - hwylchoose a b c d - hwylchoose a,b,c,d -s , - hwylchoose a,b,c,d --seperator "," - hwylchoose --demo - """ + help: + usage "[bold]hwylchoose[/] [[[green]args...[/]] [[[faint]-h[/]]" + description """ + hwylchoose a b c d + hwylchoose a,b,c,d -s , + hwylchoose a,b,c,d --seperator "," + hwylchoose --demo + """ hidden demo flags: demo "show demo"