From a2dd0d395094f1c251940d005089f9407c6e59b1 Mon Sep 17 00:00:00 2001 From: sin Date: Sun, 18 Jan 2015 00:40:37 +0000 Subject: [PATCH] Make cal(1) more readable --- cal.1 | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/cal.1 b/cal.1 index 55ccc55..d32c249 100644 --- a/cal.1 +++ b/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