change parser

This commit is contained in:
Daylin Morgan 2024-01-30 13:48:04 -06:00
parent e39704d5f6
commit babfbcbe6e
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -135,7 +135,7 @@ when isMainModule:
var
c = newCtx()
cmd: string
for kind, key, val in getopt():
for kind, key, val in getopt(longNoVal = @["no-nom"]):
case kind
of cmdArgument:
cmd = key