don't echo needlessly

This commit is contained in:
Daylin Morgan 2024-03-13 10:37:48 -05:00
parent c26350a67f
commit 6ad1950f5e
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -161,11 +161,9 @@ when isMainModule:
for kind, key, val in p.getopt():
case kind
of cmdArgument:
echo key
subcmd = key
of cmdLongOption, cmdShortOption:
if key == "":
break
if key == "": break
parseFlag c, kind, key, val
of cmdEnd:
discard