mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-04 13:33:14 -06:00
don't echo needlessly
This commit is contained in:
parent
c26350a67f
commit
6ad1950f5e
1 changed files with 1 additions and 3 deletions
|
@ -161,11 +161,9 @@ when isMainModule:
|
||||||
for kind, key, val in p.getopt():
|
for kind, key, val in p.getopt():
|
||||||
case kind
|
case kind
|
||||||
of cmdArgument:
|
of cmdArgument:
|
||||||
echo key
|
|
||||||
subcmd = key
|
subcmd = key
|
||||||
of cmdLongOption, cmdShortOption:
|
of cmdLongOption, cmdShortOption:
|
||||||
if key == "":
|
if key == "": break
|
||||||
break
|
|
||||||
parseFlag c, kind, key, val
|
parseFlag c, kind, key, val
|
||||||
of cmdEnd:
|
of cmdEnd:
|
||||||
discard
|
discard
|
||||||
|
|
Loading…
Reference in a new issue