mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2024-11-16 06:28:32 -06:00
set default type as bool not string
This commit is contained in:
parent
292bddd59f
commit
c0611a728c
1 changed files with 1 additions and 1 deletions
|
@ -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) =
|
||||
|
|
Loading…
Reference in a new issue