From: Sami Kerola Date: Wed, 1 May 2013 22:12:16 +0000 (+0100) Subject: docs: cal: add --color option description to manual page X-Git-Tag: v2.24-rc1~535^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e47346ff19984b2bf466ca043c105bcce1154f0f;p=thirdparty%2Futil-linux.git docs: cal: add --color option description to manual page Signed-off-by: Sami Kerola --- diff --git a/misc-utils/cal.1 b/misc-utils/cal.1 index 4d9b3d165c..ec99d60b07 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