summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-06-24 06:45:32 +0000
committerimp <imp@FreeBSD.org>1999-06-24 06:45:32 +0000
commit395d563b43e5c720072d86bb3eb1b13929e04fa4 (patch)
treed404f12205856de35fd58bae6fd2f6abdeac48f2
parent37b915c08f74748061b9773d96f3f5af5135af6c (diff)
downloadFreeBSD-src-395d563b43e5c720072d86bb3eb1b13929e04fa4.zip
FreeBSD-src-395d563b43e5c720072d86bb3eb1b13929e04fa4.tar.gz
Don't add '?' to getopt's options.
-rw-r--r--usr.bin/calendar/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/calendar/calendar.c b/usr.bin/calendar/calendar.c
index 64b5f6b..fc6f766 100644
--- a/usr.bin/calendar/calendar.c
+++ b/usr.bin/calendar/calendar.c
@@ -70,7 +70,7 @@ main(argc, argv)
(void) setlocale(LC_ALL, "");
- while ((ch = getopt(argc, argv, "?-af:t:A:B:")) != -1)
+ while ((ch = getopt(argc, argv, "-af:t:A:B:")) != -1)
switch (ch) {
case '-': /* backward contemptible */
case 'a':
OpenPOWER on IntegriCloud