version 0.7.6
This commit is contained in:
parent
439aa2d04d
commit
e792940f52
106 changed files with 8394 additions and 10083 deletions
|
|
@ -70,7 +70,7 @@ proc parseCmdLine(c: var TConfigData) =
|
|||
of "version", "v": writeln(stdout, Version)
|
||||
of "o", "output": c.outdir = val
|
||||
of "var":
|
||||
var idx = findSubStr('=', val)
|
||||
var idx = val.find('=')
|
||||
if idx < 0: quit("invalid command line")
|
||||
c.vars[copy(val, 0, idx-1)] = copy(val, idx+1)
|
||||
else: quit(Usage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue