summaryrefslogtreecommitdiffstats
path: root/term-utils
diff options
context:
space:
mode:
authorJakub Wilk2019-03-08 21:25:59 +0100
committerJakub Wilk2019-03-08 21:27:59 +0100
commitf28985ffc341ae7f2c47df8329f173e0bbf65521 (patch)
tree7233bf5e48c9d908be1f7789330389da81e5f5fd /term-utils
parentMerge branch 'setterm' of https://github.com/jwilk-forks/util-linux (diff)
downloadkernel-qcow2-util-linux-f28985ffc341ae7f2c47df8329f173e0bbf65521.tar.gz
kernel-qcow2-util-linux-f28985ffc341ae7f2c47df8329f173e0bbf65521.tar.xz
kernel-qcow2-util-linux-f28985ffc341ae7f2c47df8329f173e0bbf65521.zip
setterm: fix --hbcolor description
--hbcolor is for half-bright characters, which is sort of opposite of bold. Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Diffstat (limited to 'term-utils')
-rw-r--r--term-utils/setterm.12
-rw-r--r--term-utils/setterm.c2
2 files changed, 2 insertions, 2 deletions
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|<color> set foreground color\n"), out);
fputs(_(" --background default|<color> set background color\n"), out);
fputs(_(" --ulcolor [bright] <color> set underlined text color\n"), out);
- fputs(_(" --hbcolor [bright] <color> set bold text color\n"), out);
+ fputs(_(" --hbcolor [bright] <color> set half-bright text color\n"), out);
fputs(_(" <color>: 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);