aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/calendar/calendar.1
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-08-14 11:31:37 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-08-14 11:31:37 +0000
commit37912506889abb3fba5b227b9d36dc4aed0d033e (patch)
tree7fba3693b74d2d25928f770e927e7b08933c6d35 /usr.bin/calendar/calendar.1
parent67cb90ecd74ae825d4f5a0fcb3efa85c875b31d7 (diff)
downloadsrc-37912506889abb3fba5b227b9d36dc4aed0d033e.tar.gz
src-37912506889abb3fba5b227b9d36dc4aed0d033e.zip
mdoc(7) police:
Added -F and -W options to the SYNOPSIS. Fixed options DESCRIPTION to match style(9). Document the default for -F.
Notes
Notes: svn path=/head/; revision=101863
Diffstat (limited to 'usr.bin/calendar/calendar.1')
-rw-r--r--usr.bin/calendar/calendar.128
1 files changed, 17 insertions, 11 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1
index 7964e75d4517..44e30f1999d8 100644
--- a/usr.bin/calendar/calendar.1
+++ b/usr.bin/calendar/calendar.1
@@ -43,12 +43,17 @@
.Op Fl a
.Op Fl A Ar num
.Op Fl B Ar num
+.Op Fl F Ar friday
.Op Fl f Ar calendarfile
-.Oo Fl t Ar dd Ns
+.Oo
+.Bk -words
+.Fl t Ar dd Ns
.Sm off
.Op . Ar mm Op . Ar year
.Sm on
+.Ek
.Oc
+.Op Fl W Ar num
.Sh DESCRIPTION
The
.Nm
@@ -61,26 +66,22 @@ three days are displayed.
.Pp
The following options are available:
.Bl -tag -width Ds
-.It Fl a
-Process the ``calendar'' files of all users and mail the results
-to them.
-This requires super-user privileges.
.It Fl A Ar num
Print lines from today and the next
.Ar num
days (forward, future).
+.It Fl a
+Process the ``calendar'' files of all users and mail the results
+to them.
+This requires super-user privileges.
.It Fl B Ar num
Print lines from today and the previous
.Ar num
days (backward, past).
-.It Fl F
+.It Fl F Ar friday
Specify which day of the week is ``Friday'' (the day before the
weekend begins).
-.It Fl W Ar num
-Print lines from today and the next
-.Ar num
-days (forward, future).
-Ignore weekends when calculating the number of days.
+Default is 5.
.It Fl f Pa calendarfile
Use
.Pa calendarfile
@@ -92,6 +93,11 @@ as the default calendar file.
.Sm on
.Xc
For test purposes only: set date directly to argument values.
+.It Fl W Ar num
+Print lines from today and the next
+.Ar num
+days (forward, future).
+Ignore weekends when calculating the number of days.
.El
.Pp
To handle calendars in your national code table you can specify