summaryrefslogtreecommitdiffstats
path: root/misc-utils/cal.1
diff options
context:
space:
mode:
authorMax Klinger2015-04-07 13:05:39 +0200
committerKarel Zak2015-04-07 15:18:38 +0200
commit7800509b215139502ccc8e097f916784cda99de6 (patch)
tree59dae2aee059c5b36c82b3c8763118c2ffc78f08 /misc-utils/cal.1
parentMerge branch 'test-fixes' of https://github.com/rudimeier/util-linux (diff)
downloadkernel-qcow2-util-linux-7800509b215139502ccc8e097f916784cda99de6.tar.gz
kernel-qcow2-util-linux-7800509b215139502ccc8e097f916784cda99de6.tar.xz
kernel-qcow2-util-linux-7800509b215139502ccc8e097f916784cda99de6.zip
cal: add -Y and -n <num>
[kzak@redhat.com: - add month_in_row to avoid extra meaning of num_month=-3, - add header_year - add long option for -Y - define conflicts between -Y, -y and -n - remove ctl.yflag] Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/cal.1')
-rw-r--r--misc-utils/cal.16
1 files changed, 6 insertions, 0 deletions
diff --git a/misc-utils/cal.1 b/misc-utils/cal.1
index 0a1600d0e..50b0859d8 100644
--- a/misc-utils/cal.1
+++ b/misc-utils/cal.1
@@ -54,6 +54,9 @@ Display single month output.
\fB\-3\fR, \fB\-\-three\fR
Display three months spanning the date.
.TP
+\fB\-n , \-\-months\fR \fInumber\fR
+Display number months starting from month containing the date.
+.TP
\fB\-s\fR, \fB\-\-sunday\fR
Display Sunday as the first day of the week.
.TP
@@ -66,6 +69,9 @@ Display Julian dates (days one-based, numbered from January 1).
\fB\-y\fR, \fB\-\-year\fR
Display a calendar for the whole year.
.TP
+\fB\-Y, \fB\-\-twelve\fR
+Display a calendar for the next twelve months.
+.TP
\fB\-w\fR, \fB\-\-week\fR[\fI=number\fR]
Display week numbers in the calendar (US or ISO-8601).
.TP