X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=blobdiff_plain;f=colorize.1;h=6bd04b3c61c98d940c0b043d60cb9a5ce94d5e71;hp=582667b3c83e6d251bda1ee7bf87101e634adffb;hb=9e27da967973e089efe2f71f6279ebc4fe284c1a;hpb=60475d2ed28d873cc0d66a320d6b67df57c08188 diff --git a/colorize.1 b/colorize.1 index 582667b..6bd04b3 100644 --- a/colorize.1 +++ b/colorize.1 @@ -1,14 +1,14 @@ -.TH COLORIZE 1 "2013-12-22" "colorize v0.52" "User Commands" +.TH COLORIZE 1 "2017-04-21" "colorize v0.61" "User Commands" .SH NAME colorize \- colorize text with escape sequences .SH SYNOPSIS -\fBcolorize\fR [option] (foreground) \fIfile\fR +\fBcolorize\fR [\fIoption\fR]... (\fIforeground\fR) [\fIfile\fR] .PP -\fBcolorize\fR [option] (foreground)/(background) \fIfile\fR +\fBcolorize\fR [\fIoption\fR]... (\fIforeground\fR)/(\fIbackground\fR) [\fIfile\fR] .PP -\fBcolorize\fR \-\-clean[\-all] \fIfile\fR +\fBcolorize\fR \-\-clean[\-all] [\fIfile\fR] .PP -\fBcolorize\fR \-hv +\fBcolorize\fR \-hV .SH DESCRIPTION Colorizes text read from standard input stream or file by using ANSI escape sequences (and also vice versa, i.e. cleaning text from sequences) @@ -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 @@ -40,7 +46,7 @@ text color to be excluded when selecting a random foreground color .BR \-h ", " \-\-help show help screen and exit .TP -.BR \-v ", " \-\-version +.BR \-V ", " \-\-version display version data and exit .SH NOTES The list of color escape sequence codes being emitted and omitted is @@ -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