forked from github/server
make my visual studio debugging experience the same as before (-r is like -c)
This commit is contained in:
parent
784a934c47
commit
e9a5a79c65
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue