diff options
author | Sami Kerola | 2013-05-02 00:12:16 +0200 |
---|---|---|
committer | Sami Kerola | 2013-05-26 10:59:19 +0200 |
commit | e47346ff19984b2bf466ca043c105bcce1154f0f (patch) | |
tree | e563008d1db0a3834632974879b9b07cd0f3f75b /misc-utils/cal.1 | |
parent | cal: add --color to usage() (diff) | |
download | kernel-qcow2-util-linux-e47346ff19984b2bf466ca043c105bcce1154f0f.tar.gz kernel-qcow2-util-linux-e47346ff19984b2bf466ca043c105bcce1154f0f.tar.xz kernel-qcow2-util-linux-e47346ff19984b2bf466ca043c105bcce1154f0f.zip |
docs: cal: add --color option description to manual page
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/cal.1')
-rw-r--r-- | misc-utils/cal.1 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/misc-utils/cal.1 b/misc-utils/cal.1 index 4d9b3d165..ec99d60b0 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 |