fix runtests.bat experience (doh!)

This commit is contained in:
Enno Rehling 2017-02-02 19:30:29 +01:00
parent e9a5a79c65
commit 9f3f1bf41d
1 changed files with 4 additions and 1 deletions

View File

@ -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;