Merge branch 'devel' into coroutines
This commit is contained in:
commit
24ad2cb392
89 changed files with 2829 additions and 1405 deletions
|
|
@ -645,7 +645,7 @@ proc processSwitch*(pass: TCmdLinePass; p: OptParser) =
|
|||
proc processArgument*(pass: TCmdLinePass; p: OptParser;
|
||||
argsCount: var int): bool =
|
||||
if argsCount == 0:
|
||||
options.command = p.key
|
||||
if pass != passCmd2: options.command = p.key
|
||||
else:
|
||||
if pass == passCmd1: options.commandArgs.add p.key
|
||||
if argsCount == 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue