mirror of
git://git.suckless.org/sbase
synced 2024-12-23 07:25:07 +00:00
Make cal(1) more readable
This commit is contained in:
parent
f9a1e11661
commit
a2dd0d3950
21
cal.1
21
cal.1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user