diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-20 08:41:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-20 08:41:54 +0000 |
commit | ae1813d3ff2050d66ed36351c98ba34ab54534ae (patch) | |
tree | f71de4e7523e876154245d5386866e4e0c6d0b9f /usr.bin/calendar/calendar.c | |
parent | 9901eb97be8583994aaf809b8977a41b55fe8b8f (diff) |
sigh, who wrote this
Diffstat (limited to 'usr.bin/calendar/calendar.c')
-rw-r--r-- | usr.bin/calendar/calendar.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/calendar/calendar.c b/usr.bin/calendar/calendar.c index b08638f4990..e6657e87f10 100644 --- a/usr.bin/calendar/calendar.c +++ b/usr.bin/calendar/calendar.c @@ -1,4 +1,4 @@ -/* $OpenBSD: calendar.c,v 1.6 1997/01/15 23:42:16 millert Exp $ */ +/* $OpenBSD: calendar.c,v 1.7 1997/06/20 08:41:53 deraadt Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -43,7 +43,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94"; #else -static char rcsid[] = "$OpenBSD: calendar.c,v 1.6 1997/01/15 23:42:16 millert Exp $"; +static char rcsid[] = "$OpenBSD: calendar.c,v 1.7 1997/06/20 08:41:53 deraadt Exp $"; #endif #endif /* not lint */ @@ -77,7 +77,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': @@ -86,7 +86,6 @@ main(argc, argv) doall = 1; break; - case 'f': /* other calendar file */ calendarFile = optarg; break; @@ -103,7 +102,6 @@ main(argc, argv) f_dayBefore = atoi(optarg); break; - case '?': default: usage(); } |