Closed andyli closed 9 years ago
Hey @andyli!
It seems that there should be a bit more hackery when parsing args after --run
, because everything after --run
is consumed and used as --run
args (and thus these args should follow the --run
arg).
For example:
--run Build
arg1
arg2
Currently this will put arg1
, arg2
before --run
resulting to invalid command line.
Good catch! Will go to fix it and make a PR!
This is quite a big revision of the
read_hxml
function. Hopefully it wouldn't break anything... Please review and test with your projects. ;)Here is the list of improvements:
-main
.l.split(" ", 1)
instead of (l.split(" ")
+join
).