Make cal(1) more readable

This commit is contained in:
sin 2015-01-18 00:40:37 +00:00
parent f9a1e11661
commit a2dd0d3950
1 changed files with 16 additions and 5 deletions

21
cal.1
View File

@ -31,12 +31,23 @@ The Julian calendar is used until Sep 2, 1752. The Gregorian calendar is used
starting the next day on Sep 14, 1752.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl 1 | Fl 3 | Fl n Ar nmonths | Fl y
Show current month | previous, current and next month |
.It Fl 1
Output current month. This is the default.
.It Fl 3
Output previous, current and next month.
.It Fl n Ar nmonths
Output in total
.Ar nmonths
months | year.
.It Fl s | Fl m | Fl f Ar firstday
Set Sunday | Monday |
starting from the current month.
.It Fl y Ar year
Output an entire
.Ar year .
.It Fl s
Output Sunday as first day of week.
.It Fl m
Output Monday as first day of week.
.It Fl f Ar firstday
Output
.Ar firstday
(0 is Sunday, 6 is Saturday) as first day of week.
.It Fl c Ar columns