mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2025-02-23 01:35:50 -06:00
need flags for flagSet
This commit is contained in:
parent
717ca3a3ec
commit
f31c2d8e45
1 changed files with 4 additions and 1 deletions
|
@ -1217,8 +1217,11 @@ func hwylCliImpl(cfg: CliCfg): NimNode =
|
|||
|
||||
stopWords = nnkPrefix.newTree(ident"@", stopWords)
|
||||
|
||||
if cfg.flags.len > 0:
|
||||
parserBody.add quote do:
|
||||
var `flagSet`: HashSet[string]
|
||||
|
||||
parserBody.add quote do:
|
||||
var `flagSet`: HashSet[string]
|
||||
var `nArgs`: int
|
||||
|
||||
parserBody.add(
|
||||
|
|
Loading…
Add table
Reference in a new issue