Cleanup color option

This commit is contained in:
Martin Lund 2022-02-19 09:45:02 +01:00
parent 45210bc741
commit 8f63f755da
2 changed files with 3 additions and 3 deletions

View file

@ -108,9 +108,9 @@ If defining more than one flag, the flags must be comma separated.
.RE
.TP
.BR \-c ", " "\-\-color " \fI<0..255>
.BR \-c ", " "\-\-color " \fI<code>
Colorize tio text using ANSI color code.
Colorize tio text using ANSI color code ranging from 0 to 255.
If color code is negative a list of available ANSI colors will be printed.

View file

@ -70,7 +70,7 @@ void print_help(char *argv[])
printf(" -L, --list-devices List available serial devices\n");
printf(" -l, --log[=<filename>] Log to file\n");
printf(" -m, --map <flags> Map special characters\n");
printf(" -c, --color <0..255> Colorize tio text\n");
printf(" -c, --color <code> Colorize tio text\n");
printf(" -v, --version Display version\n");
printf(" -h, --help Display help\n");
printf("\n");