forked from github/server
fix runtests.bat experience (doh!)
This commit is contained in:
parent
e9a5a79c65
commit
9f3f1bf41d
|
@ -186,11 +186,14 @@ static int parse_args(int argc, char **argv, int *exitcode)
|
||||||
else {
|
else {
|
||||||
const char *arg;
|
const char *arg;
|
||||||
switch (argi[1]) {
|
switch (argi[1]) {
|
||||||
case 'r':
|
|
||||||
case 'c':
|
case 'c':
|
||||||
i = get_arg(argc, argv, 2, i, &arg, 0);
|
i = get_arg(argc, argv, 2, i, &arg, 0);
|
||||||
config_set("config.path", arg);
|
config_set("config.path", arg);
|
||||||
break;
|
break;
|
||||||
|
case 'r':
|
||||||
|
i = get_arg(argc, argv, 2, i, &arg, 0);
|
||||||
|
config_set("config.rules", arg);
|
||||||
|
break;
|
||||||
case 'f':
|
case 'f':
|
||||||
i = get_arg(argc, argv, 2, i, &luafile, 0);
|
i = get_arg(argc, argv, 2, i, &luafile, 0);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue