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():
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue