-.TH COLORIZE 1 "2014-01-02" "colorize v0.55" "User Commands"
+.TH COLORIZE 1 "2015-03-02" "colorize v0.55" "User Commands"
.SH NAME
colorize \- colorize text with escape sequences
.SH SYNOPSIS
.PP
\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)
.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
log = open_file (DEBUG_FILE, "w");
#endif
- while ((opt = getopt_long (argc, argv, "hv", long_opts, NULL)) != -1)
+ while ((opt = getopt_long (argc, argv, "hV", long_opts, NULL)) != -1)
{
PARSE_OPT:
switch (opt)
break;
case 'h':
SET_OPT_TYPE (OPT_HELP);
- case 'v':
+ case 'V':
SET_OPT_TYPE (OPT_VERSION);
case '?':
print_hint ();
printf ("\t\t --clean-all\n");
printf ("\t\t --exclude-random\n");
printf ("\t\t-h, --help\n");
- printf ("\t\t-v, --version\n\n");
+ printf ("\t\t-V, --version\n\n");
}
static void