normalize "run" command
This commit is contained in:
parent
d9b5ae13be
commit
1274953507
1 changed files with 1 additions and 1 deletions
|
|
@ -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.}) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue