From c0611a728c9c913ad38373071f61a94756462b13 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 11 Nov 2024 13:47:38 -0600 Subject: [PATCH] set default type as bool not string --- src/hwylterm/hwylcli.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hwylterm/hwylcli.nim b/src/hwylterm/hwylcli.nim index 118a28b..b285f94 100644 --- a/src/hwylterm/hwylcli.nim +++ b/src/hwylterm/hwylcli.nim @@ -245,7 +245,7 @@ func parseCliFlag(n: NimNode): CliFlag = if result.ident == nil: result.ident = result.name.ident if result.typeNode == nil: - result.typeNode = ident"string" + result.typeNode = ident"bool" # TODO: change how this works? func parseCliFlags(cfg: var CliCfg, node: NimNode) =