aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.1
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org>2017-04-25 21:53:24 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org>2017-04-25 21:53:24 +0200
commitf1c44195b0950ef15dc9108025dbc2251b274225 (patch)
tree463f3aad122fd104c39fcd93578a51a391fe13ac /colorize.1
parent78eed47b63832cf88d2c1a9700cec16298901a44 (diff)
parentb87c52d154d2953b932a54866a74fc9e10e6ae80 (diff)
downloadcolorize-f1c44195b0950ef15dc9108025dbc2251b274225.tar.gz
colorize-f1c44195b0950ef15dc9108025dbc2251b274225.tar.bz2
Merge branch 'opt_attr'
Diffstat (limited to 'colorize.1')
-rw-r--r--colorize.114
1 files changed, 10 insertions, 4 deletions
diff --git a/colorize.1 b/colorize.1
index 1862930..de53070 100644
--- a/colorize.1
+++ b/colorize.1
@@ -1,10 +1,10 @@
-.TH COLORIZE 1 "2015-03-02" "colorize v0.60" "User Commands"
+.TH COLORIZE 1 "2017-04-21" "colorize v0.60" "User Commands"
.SH NAME
colorize \- colorize text with escape sequences
.SH SYNOPSIS
-\fBcolorize\fR [\fIoption\fR] (\fIforeground\fR) [\fIfile\fR]
+\fBcolorize\fR [\fIoption\fR]... (\fIforeground\fR) [\fIfile\fR]
.PP
-\fBcolorize\fR [\fIoption\fR] (\fIforeground\fR)/(\fIbackground\fR) [\fIfile\fR]
+\fBcolorize\fR [\fIoption\fR]... (\fIforeground\fR)/(\fIbackground\fR) [\fIfile\fR]
.PP
\fBcolorize\fR \-\-clean[\-all] [\fIfile\fR]
.PP
@@ -28,6 +28,12 @@ were emitted by colorize (see NOTES for list), whereas \-\-clean\-all
omits all valid ones. If in doubt, consider using \-\-clean\-all.
.SH OPTIONS
.TP
+.BR \-\-attr=\fIATTR1,ATTR2,...\fR
+set attributes by name
+.RS
+Attributes: bold, underscore, blink, reverse and concealed.
+.RE
+.TP
.BR \-\-clean
clean text from color escape sequences emitted by colorize
.TP
@@ -48,7 +54,7 @@ as follows:
.IP * 4
30-37,39 (foreground colors)
.IP * 4
-1;30-37,39 (bold foreground colors)
+1-9;30-37,39 (foreground colors with attributes)
.IP * 4
40-47,49 (background colors)
.IP * 4