need flags for flagSet

This commit is contained in:
Daylin Morgan 2025-01-23 17:03:35 -06:00
parent 717ca3a3ec
commit f31c2d8e45
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -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 `nArgs`: int
parserBody.add(