setterm: update comments about -ulcolor/-hbcolor syntax

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
This commit is contained in:
Jakub Wilk 2019-03-07 22:07:37 +01:00
parent 3d886e86f6
commit bec23f0bf2
1 changed files with 2 additions and 2 deletions

View File

@ -976,11 +976,11 @@ static void perform_sequence(struct setterm_control *ctl)
if (ctl->opt_background)
printf("\033[4%c%s", '0' + ctl->opt_ba_color, "m");
/* -ulcolor black|red|green|yellow|blue|magenta|cyan|white|default. */
/* -ulcolor [bright] black|red|green|yellow|blue|magenta|cyan|white. */
if (ctl->opt_ulcolor && vc_only(ctl, "--ulcolor"))
printf("\033[1;%d]", ctl->opt_ul_color);
/* -hbcolor black|red|green|yellow|blue|magenta|cyan|white|default. */
/* -hbcolor [bright] black|red|green|yellow|blue|magenta|cyan|white. */
if (ctl->opt_hbcolor)
printf("\033[2;%d]", ctl->opt_hb_color);