mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tlib: catch unknown options in tlib_run_tests
This commit is contained in:
parent
3ed7847d84
commit
222da362ec
@ -131,6 +131,11 @@ void tlib_run_tests(int argc, char *argv[])
|
||||
no_abort = 1;
|
||||
else if (0 == strcmp("--repeat-forever", a))
|
||||
repeat = ULONG_MAX;
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "tlib_run_tests: unknown option %s\n", a);
|
||||
exit(2);
|
||||
}
|
||||
}
|
||||
else
|
||||
match_any = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user