Catch all undefined flags

This commit is contained in:
Philip K 2020-12-06 14:36:13 +01:00 committed by Eyal Sawady
parent 6d74f2c4b9
commit a990d49313
No known key found for this signature in database
GPG Key ID: 604D3459E53A9952
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -1420,7 +1420,7 @@ main(int argc, char *argv[])
case 'h':
printf("%s", usage);
exit(EXIT_SUCCESS);
case '?':
default:
printf("%s", usage);
exit(EXIT_FAILURE);
}