params: Fixed unknown flags implying --crash. Fixes #166

This commit is contained in:
Snaipe 2016-09-24 14:01:20 +02:00
parent 2d6959d777
commit f8107d221e

View file

@ -351,8 +351,8 @@ CR_API int criterion_handle_args(int argc, char *argv[],
case 's':
fprintf(stderr, "--single has been removed. Use --debug instead.");
exit(3);
case 'c': criterion_options.crash = true; break;
case '?':
case 'c': criterion_options.crash = true; break;
default: do_print_usage = handle_unknown_arg; break;
}
}