summaryrefslogtreecommitdiffstats
path: root/term-utils
diff options
context:
space:
mode:
authorJakub Wilk2019-03-07 22:07:37 +0100
committerJakub Wilk2019-03-07 22:11:46 +0100
commitbec23f0bf280e45c7d8f9a71ca19d392bf0a83ab (patch)
tree86be12641dbec0cc3fa8385c7980238d0b927b72 /term-utils
parentsetterm: fix bright colors for --ulcolor/--hbcolor (diff)
downloadkernel-qcow2-util-linux-bec23f0bf280e45c7d8f9a71ca19d392bf0a83ab.tar.gz
kernel-qcow2-util-linux-bec23f0bf280e45c7d8f9a71ca19d392bf0a83ab.tar.xz
kernel-qcow2-util-linux-bec23f0bf280e45c7d8f9a71ca19d392bf0a83ab.zip
setterm: update comments about -ulcolor/-hbcolor syntax
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Diffstat (limited to 'term-utils')
-rw-r--r--term-utils/setterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term-utils/setterm.c b/term-utils/setterm.c
index 4c29a462e..d9a846ab0 100644
--- a/term-utils/setterm.c
+++ b/term-utils/setterm.c
@@ -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);