summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2014-07-29 02:16:57 +0200
committerdef <dennis@felsin9.de>2014-07-29 02:16:57 +0200
commit1274953507deb1c1210a1e0f152950d5ffe5ad45 (patch)
tree99d5ae95e1c9a5dc24eb316567ec8023ff20b943 /compiler
parentd9b5ae13be7c7f9e92a5af4fa4274eae8c57397f (diff)
downloadNim-1274953507deb1c1210a1e0f152950d5ffe5ad45.tar.gz
normalize "run" command
Diffstat (limited to 'compiler')
-rw-r--r--compiler/service.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/service.nim b/compiler/service.nim
index eab995276..22f5c6e33 100644
--- a/compiler/service.nim
+++ b/compiler/service.nim
@@ -59,7 +59,7 @@ proc processCmdLine*(pass: TCmdLinePass, cmd: string) =
       inc argsCount
           
   if pass == passCmd2:
-    if optRun notin gGlobalOptions and arguments != "" and options.command != "run":
+    if optRun notin gGlobalOptions and arguments != "" and options.command.normalize != "run":
       rawMessage(errArgsNeedRunOption, [])
 
 proc serve*(action: proc (){.nimcall.}) =