diff options
author | rku <rokups@zoho.com> | 2015-08-20 17:54:55 +0300 |
---|---|---|
committer | rku <rokups@zoho.com> | 2015-08-20 17:54:55 +0300 |
commit | 24ad2cb39247039c50db1b0a8633d00130814fda (patch) | |
tree | 73c821c1c4e1d5b8a80cccb7324fa77aca191cb2 /compiler/commands.nim | |
parent | 6a7a44bbf248fad96ed0eed115e3b3c77a77bf89 (diff) | |
parent | 69b32637b1f12000b64fa4db452323dc30b3567f (diff) | |
download | Nim-24ad2cb39247039c50db1b0a8633d00130814fda.tar.gz |
Merge branch 'devel' into coroutines
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r-- | compiler/commands.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index 29d08f327..dba117516 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -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: |