mirror of
git://git.suckless.org/sbase
synced 2024-12-23 15:34:38 +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.
|
starting the next day on Sep 14, 1752.
|
||||||
.Sh OPTIONS
|
.Sh OPTIONS
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl 1 | Fl 3 | Fl n Ar nmonths | Fl y
|
.It Fl 1
|
||||||
Show current month | previous, current and next month |
|
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
|
.Ar nmonths
|
||||||
months | year.
|
starting from the current month.
|
||||||
.It Fl s | Fl m | Fl f Ar firstday
|
.It Fl y Ar year
|
||||||
Set Sunday | Monday |
|
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
|
.Ar firstday
|
||||||
(0 is Sunday, 6 is Saturday) as first day of week.
|
(0 is Sunday, 6 is Saturday) as first day of week.
|
||||||
.It Fl c Ar columns
|
.It Fl c Ar columns
|
||||||
|
Loading…
Reference in New Issue
Block a user