Add short CLI flags, --source= not required

This commit is contained in:
Ganesh Viswanathan 2018-12-04 11:11:34 -06:00
commit cb100ca571
2 changed files with 9 additions and 6 deletions

View file

@ -34,7 +34,7 @@ proc getToast(fullpath: string): string =
for i in gStateCT.includeDirs:
cmd.add &"--includeDirs+={i.quoteShell} "
cmd.add &"--source:{fullpath.quoteShell}"
cmd.add &"{fullpath.quoteShell}"
echo cmd
var (output, exitCode) = gorgeEx(cmd)
doAssert exitCode == 0, $exitCode