summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2019-03-11 12:06:38 +0100
committerKarel Zak2019-03-11 12:06:38 +0100
commit9bfff042d05044d0ea4552f1b2d0566ba328a3a7 (patch)
treec4775e58006921e458a2929de63a5e9030d3fbb1
parentblkid: (man) cleanup return code section (diff)
parentsetterm: fix --hbcolor description (diff)
downloadkernel-qcow2-util-linux-9bfff042d05044d0ea4552f1b2d0566ba328a3a7.tar.gz
kernel-qcow2-util-linux-9bfff042d05044d0ea4552f1b2d0566ba328a3a7.tar.xz
kernel-qcow2-util-linux-9bfff042d05044d0ea4552f1b2d0566ba328a3a7.zip
Merge branch 'setterm' of https://github.com/jwilk-forks/util-linux
* 'setterm' of https://github.com/jwilk-forks/util-linux: setterm: fix --hbcolor description
-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);