summaryrefslogtreecommitdiffstats
path: root/misc-utils/cal.1
diff options
context:
space:
mode:
authorKarel Zak2015-02-25 12:37:55 +0100
committerKarel Zak2015-02-25 12:40:06 +0100
commit5d51dc2a7f04d01b33505737fce0f7325c6487b8 (patch)
treebc9947b2d5d6de7d3488a13138b483e6e64de05d /misc-utils/cal.1
parentsfdisk: add missing --color (diff)
downloadkernel-qcow2-util-linux-5d51dc2a7f04d01b33505737fce0f7325c6487b8.tar.gz
kernel-qcow2-util-linux-5d51dc2a7f04d01b33505737fce0f7325c6487b8.tar.xz
kernel-qcow2-util-linux-5d51dc2a7f04d01b33505737fce0f7325c6487b8.zip
colors: cleanup man pages, add hint to usage()
cfdisk, fdisk, calm dmesg and hexdump Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/cal.1')
-rw-r--r--misc-utils/cal.121
1 files changed, 7 insertions, 14 deletions
diff --git a/misc-utils/cal.1 b/misc-utils/cal.1
index 92141ae9e..0a1600d0e 100644
--- a/misc-utils/cal.1
+++ b/misc-utils/cal.1
@@ -70,18 +70,10 @@ Display a calendar for the whole year.
Display week numbers in the calendar (US or ISO-8601).
.TP
\fB\-\-color\fR[\fI=when\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.
+Colorize the output. The optional argument \fIwhen\fP
+can be \fBauto\fR, \fBnever\fR or \fBalways\fR. If the \fIwhen\fR argument is omitted,
+it defaults to \fBauto\fR. The colors can be disabled, for the current built-in default
+see \fB\-\-help\fR output. See also the COLORS section.
.TP
\fB\-V\fR, \fB\-\-version\fR
Display version information and exit.
@@ -117,8 +109,9 @@ Implicit coloring can be disabled as follows:
.br
.RE
-For more details see
-.BR terminal-colors.d (5).
+See
+.BR terminal-colors.d (5)
+for more details about colorization configuration.
.SH BUGS
.PP
The