Style.
This commit is contained in:
parent
e848cf9ced
commit
c42dfce78d
2 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,7 @@ main(int argc, char *argv[])
|
||||||
case '?':
|
case '?':
|
||||||
if (optopt == 'o')
|
if (optopt == 'o')
|
||||||
fprintf (stderr, "Option -%c requires an argument.\n", optopt);
|
fprintf (stderr, "Option -%c requires an argument.\n", optopt);
|
||||||
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
usage (argv[0]);
|
usage (argv[0]);
|
||||||
exit (EXIT_FAILURE);
|
exit (EXIT_FAILURE);
|
||||||
|
|
|
@ -157,6 +157,7 @@ main(int argc, char *argv[])
|
||||||
case '?':
|
case '?':
|
||||||
if (optopt == 'i')
|
if (optopt == 'i')
|
||||||
fprintf (stderr, "Option -%c requires an argument.\n", optopt);
|
fprintf (stderr, "Option -%c requires an argument.\n", optopt);
|
||||||
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
usage (argv[0]);
|
usage (argv[0]);
|
||||||
exit (EXIT_FAILURE);
|
exit (EXIT_FAILURE);
|
||||||
|
|
Loading…
Reference in a new issue