summaryrefslogtreecommitdiff
path: root/misc-utils
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2013-05-01 23:12:16 +0100
committerSami Kerola <kerolasa@iki.fi>2013-05-26 09:59:19 +0100
commite47346ff19984b2bf466ca043c105bcce1154f0f (patch)
treee563008d1db0a3834632974879b9b07cd0f3f75b /misc-utils
parent201d43fd12f556e0bf2ef8955073627ab7f74004 (diff)
downloadutil-linux-e47346ff19984b2bf466ca043c105bcce1154f0f.tar.gz
docs: cal: add --color option description to manual page
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils')
-rw-r--r--misc-utils/cal.114
1 files changed, 14 insertions, 0 deletions
diff --git a/misc-utils/cal.1 b/misc-utils/cal.1
index 4d9b3d16..ec99d60b 100644
--- a/misc-utils/cal.1
+++ b/misc-utils/cal.1
@@ -65,6 +65,20 @@ Display Julian dates (days one-based, numbered from January 1).
\fB\-y\fR, \fB\-\-year\fR
Display a calendar for the current year.
.TP
+\fB\-\-color\fR [\fIwhen\fR]
+Colorize output. The
+.I when
+can be
+.IR never ,
+.IR auto ,
+or
+.IR always .
+Never will turn off colorizing in all situations. Auto is default, and
+it will make colorizing to be in use if output is done to terminal.
+Always will allow colors to be outputed when
+.B cal
+outputs to pipe, or is called from a script.
+.TP
\fB\-V\fR, \fB\-\-version\fR
Display version information and exit.
.TP