From 9f3f1bf41df000a24621404fca3513fd2ccf2357 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 2 Feb 2017 19:30:29 +0100 Subject: [PATCH] fix runtests.bat experience (doh!) --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 9bfd1448f..a3bcdb866 100644 --- a/src/main.c +++ b/src/main.c @@ -186,11 +186,14 @@ static int parse_args(int argc, char **argv, int *exitcode) else { const char *arg; switch (argi[1]) { - case 'r': case 'c': i = get_arg(argc, argv, 2, i, &arg, 0); config_set("config.path", arg); break; + case 'r': + i = get_arg(argc, argv, 2, i, &arg, 0); + config_set("config.rules", arg); + break; case 'f': i = get_arg(argc, argv, 2, i, &luafile, 0); break;