]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: cal: add --color option description to manual page
authorSami Kerola <kerolasa@iki.fi>
Wed, 1 May 2013 22:12:16 +0000 (23:12 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 26 May 2013 08:59:19 +0000 (09:59 +0100)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/cal.1

index 4d9b3d165c09e49815fc346d6b7a4261a92f994f..ec99d60b07cba4ff371711d17b9efa8c09cac1a9 100644 (file)
@@ -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