diff options
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r-- | compiler/commands.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index 2a2e0c4ee..596cdafba 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -308,8 +308,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) = expectArg(switch, arg, pass, info) options.docSeeSrcUrl = arg of "mainmodule", "m": - expectArg(switch, arg, pass, info) - optMainModule = arg + discard "allow for backwards compatibility, but don't do anything" of "define", "d": expectArg(switch, arg, pass, info) defineSymbol(arg) |