This commit is contained in:
Romain Tartière 2014-04-13 19:41:17 +02:00
parent e848cf9ced
commit c42dfce78d
2 changed files with 2 additions and 0 deletions

View file

@ -87,6 +87,7 @@ main(int argc, char *argv[])
case '?':
if (optopt == 'o')
fprintf (stderr, "Option -%c requires an argument.\n", optopt);
/* FALLTHROUGH */
default:
usage (argv[0]);
exit (EXIT_FAILURE);

View file

@ -157,6 +157,7 @@ main(int argc, char *argv[])
case '?':
if (optopt == 'i')
fprintf (stderr, "Option -%c requires an argument.\n", optopt);
/* FALLTHROUGH */
default:
usage (argv[0]);
exit (EXIT_FAILURE);