commit a2dd0d395094f1c251940d005089f9407c6e59b1
parent f9a1e1166138aa4a8b9e872a1c2a9c5ed81c4543
Author: sin <sin@2f30.org>
Date: Sun, 18 Jan 2015 00:40:37 +0000
Make cal(1) more readable
Diffstat:
M | cal.1 | | | 21 | ++++++++++++++++----- |
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git 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