diff --git a/src/getopt.c b/src/getopt.c
--- a/src/getopt.c
+++ b/src/getopt.c
(void)fprintf(stderr,
"ERROR : option requires an argument -- %c\n",
optopt);
- return (BADCH);
+ exit (BADCH);
}
else /* white space */
optarg = nargv[optindex];