diff options
author | Karel Zak | 2016-10-07 16:02:36 +0200 |
---|---|---|
committer | Karel Zak | 2016-10-07 16:02:36 +0200 |
commit | 535fd6d2b6b3fec9507b2e435460be317e0485a1 (patch) | |
tree | 2e20127a1ca3bdf10dc3297fafdbdf91e4d49814 /misc-utils/cal.1 | |
parent | cal: cleanup man page (diff) | |
download | kernel-qcow2-util-linux-535fd6d2b6b3fec9507b2e435460be317e0485a1.tar.gz kernel-qcow2-util-linux-535fd6d2b6b3fec9507b2e435460be317e0485a1.tar.xz kernel-qcow2-util-linux-535fd6d2b6b3fec9507b2e435460be317e0485a1.zip |
cal: support alone month name parameter
For example 'cal August' to print August for the current year.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/cal.1')
-rw-r--r-- | misc-utils/cal.1 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/misc-utils/cal.1 b/misc-utils/cal.1 index 2048e95e2..39378cfe2 100644 --- a/misc-utils/cal.1 +++ b/misc-utils/cal.1 @@ -44,7 +44,7 @@ cal \- display a calendar .br .B cal [options] -.RI <timestamp> +.RI <timestamp|monthname> .SH DESCRIPTION .B cal displays a simple calendar. If no arguments are specified, the current @@ -103,10 +103,13 @@ Specifies the \fIyear\fR to be displayed; note the year must be fully specified: .B "cal 89" will not display a calendar for 1989. .TP -\fBSingle string parameter (e.g. 'cal tomorrow')\fR -Specifies \fItimestamp\fR. The special placeholders are accepted when parsing timestamp, "now" may be used to -refer to the current time, "today", "yesterday", "tomorrow" refer to -of the current day, the day before or the next day, respectively. +\fBSingle string parameter (e.g. 'cal tomorrow' or 'cal August')\fR +Specifies \fItimestamp\fR or a \fImonth name\fR according to the current +locales. +.sp +The special placeholders are accepted when parsing timestamp, "now" may be used +to refer to the current time, "today", "yesterday", "tomorrow" refer to of the +current day, the day before or the next day, respectively. .sp The relative date specifications are also accepted, in this case "+" is evaluated to the current time plus the specified time span. Correspondingly, a |