From 1274953507deb1c1210a1e0f152950d5ffe5ad45 Mon Sep 17 00:00:00 2001 From: def Date: Tue, 29 Jul 2014 02:16:57 +0200 Subject: normalize "run" command --- compiler/service.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler') 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.}) = -- cgit 1.4.1-2-gfad0