diff options
Diffstat (limited to 'compiler/main.nim')
-rwxr-xr-x | compiler/main.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index dec393c50..26b3c9c4c 100755 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -300,7 +300,7 @@ proc MainCommand = #registerPass(rodwrite.rodwritePass()) discard CompileModule(options.libpath / "system", {sfSystemModule}) service.serve(proc () = - let projectFile = gProjectFull + let projectFile = mainCommandArg() discard CompileModule(projectFile, {sfMainModule}) ) else: rawMessage(errInvalidCommandX, command) |