Allow koch.nim to be run without a failure if given no arguments.

This commit is contained in:
Clay Sweetser 2014-10-14 21:16:18 -04:00
commit 99b36cb71e

View file

@ -329,7 +329,7 @@ proc temp(args: string) =
proc showHelp() = proc showHelp() =
quit(HelpText % [NimVersion & repeatChar(44-len(NimVersion)), quit(HelpText % [NimVersion & repeatChar(44-len(NimVersion)),
CompileDate, CompileTime]) CompileDate, CompileTime], QuitSuccess)
var op = initOptParser() var op = initOptParser()
op.next() op.next()