From f28985ffc341ae7f2c47df8329f173e0bbf65521 Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Fri, 8 Mar 2019 21:25:59 +0100 Subject: setterm: fix --hbcolor description --hbcolor is for half-bright characters, which is sort of opposite of bold. Signed-off-by: Jakub Wilk --- term-utils/setterm.1 | 2 +- term-utils/setterm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'term-utils') diff --git a/term-utils/setterm.1 b/term-utils/setterm.1 index 88e118934..c5eabc967 100644 --- a/term-utils/setterm.1 +++ b/term-utils/setterm.1 @@ -165,7 +165,7 @@ Turns dim (half-brightness) mode on or off. Except on a virtual console, turns off all attributes (bold, half-brightness, blink, reverse). .TP \fB\-\-hbcolor\fP \fI16-color\fP -Sets the color for bold characters. +Sets the color for half-bright characters. .TP \fB\-\-initialize\fP Displays the terminal initialization string, which typically sets the diff --git a/term-utils/setterm.c b/term-utils/setterm.c index d9a846ab0..0d4b81292 100644 --- a/term-utils/setterm.c +++ b/term-utils/setterm.c @@ -399,7 +399,7 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" --foreground default| set foreground color\n"), out); fputs(_(" --background default| set background color\n"), out); fputs(_(" --ulcolor [bright] set underlined text color\n"), out); - fputs(_(" --hbcolor [bright] set bold text color\n"), out); + fputs(_(" --hbcolor [bright] set half-bright text color\n"), out); fputs(_(" : black blue cyan green grey magenta red white yellow\n"), out); fputs(_(" --bold [on|off] bold\n"), out); fputs(_(" --half-bright [on|off] dim\n"), out); -- cgit v1.2.3-55-g7522