diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-17 03:54:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-17 03:54:31 +0000 |
commit | 7f7273b2abc23dd6e0de600cf244c720340fe16d (patch) | |
tree | 07dea1748235763d55e152e8300171c6b9a05e53 | |
parent | 713480186f7f64b94888c39c0ab781c4131fa1c2 (diff) |
getopt idiot
-rw-r--r-- | bin/date/date.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/date/date.c b/bin/date/date.c index ae5b6484e1a..ec668c33bb5 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -1,4 +1,4 @@ -/* $OpenBSD: date.c,v 1.21 2002/02/16 21:27:06 millert Exp $ */ +/* $OpenBSD: date.c,v 1.22 2002/04/17 03:54:30 deraadt Exp $ */ /* $NetBSD: date.c,v 1.11 1995/09/07 06:21:05 jtc Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)date.c 8.2 (Berkeley) 4/28/95"; #else -static char rcsid[] = "$OpenBSD: date.c,v 1.21 2002/02/16 21:27:06 millert Exp $"; +static char rcsid[] = "$OpenBSD: date.c,v 1.22 2002/04/17 03:54:30 deraadt Exp $"; #endif #endif /* not lint */ @@ -89,7 +89,7 @@ main(argc, argv) tz.tz_dsttime = tz.tz_minuteswest = 0; rflag = 0; - while ((ch = getopt(argc, argv, "d:nr:ut:")) != -1) + while ((ch = getopt(argc, argv, "ad:nr:ut:")) != -1) switch((char)ch) { case 'd': /* daylight saving time */ tz.tz_dsttime = atoi(optarg) ? 1 : 0; |