make my visual studio debugging experience the same as before (-r is like -c)

This commit is contained in:
Enno Rehling 2017-02-02 19:28:46 +01:00
parent 784a934c47
commit e9a5a79c65
1 changed files with 1 additions and 4 deletions

View File

@ -186,14 +186,11 @@ 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;