untaint command line option for parsing
This commit is contained in:
parent
25abb7c2b6
commit
796f4e917c
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ proc main() =
|
|||
of "print", "verbose": optPrintResults = true
|
||||
of "failing": optFailing = true
|
||||
of "pedantic": optPedantic = true
|
||||
of "targets": targets = parseTargets(p.val)
|
||||
of "targets": targets = parseTargets(p.val.string)
|
||||
else: quit Usage
|
||||
p.next()
|
||||
if p.kind != cmdArgument: quit Usage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue