summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-09-09 08:39:54 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-09-09 08:39:54 +0000
commite9ea51a7189dbbd1b238e047bc1e68c94f096d6f (patch)
tree6cabe6e8f2f3ce102ceed722355e629129da58d7
parent4f7f985086a04aa2861bdae50c4b6247043cf7c8 (diff)
sort the options in SYNOPSIS and sync usage();
-rw-r--r--usr.bin/calendar/calendar.15
-rw-r--r--usr.bin/calendar/calendar.c8
2 files changed, 6 insertions, 7 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1
index 0dec3728473..656f5d05042 100644
--- a/usr.bin/calendar/calendar.1
+++ b/usr.bin/calendar/calendar.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: calendar.1,v 1.23 2003/06/10 09:12:09 jmc Exp $
+.\" $OpenBSD: calendar.1,v 1.24 2003/09/09 08:39:53 jmc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -37,9 +37,8 @@
.Nd reminder service
.Sh SYNOPSIS
.Nm calendar
-.Op Fl a
+.Op Fl ab
.Op Fl A Ar num
-.Op Fl b
.Op Fl B Ar num
.Op Fl f Ar calendarfile
.Op Fl t Ar [[[cc]yy][mm]]dd
diff --git a/usr.bin/calendar/calendar.c b/usr.bin/calendar/calendar.c
index bbb9d071936..2dc789d0ffe 100644
--- a/usr.bin/calendar/calendar.c
+++ b/usr.bin/calendar/calendar.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: calendar.c,v 1.21 2003/06/10 22:20:45 deraadt Exp $ */
+/* $OpenBSD: calendar.c,v 1.22 2003/09/09 08:39:53 jmc Exp $ */
/*
* Copyright (c) 1989, 1993, 1994
@@ -39,7 +39,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.21 2003/06/10 22:20:45 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: calendar.c,v 1.22 2003/09/09 08:39:53 jmc Exp $";
#endif
#endif /* not lint */
@@ -257,8 +257,8 @@ void
usage(void)
{
(void)fprintf(stderr,
- "usage: calendar [-a] [-A num] [-b] [-B num] [-t [[[cc]yy][mm]]dd] "
- "[-f calendarfile]\n");
+ "usage: calendar [-ab] [-A num] [-B num] [-f calendarfile] "
+ "[-t [[[cc]yy][mm]]dd]\n");
exit(1);
}