summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.c
diff options
context:
space:
mode:
authorKarel Zak2015-02-25 12:37:55 +0100
committerKarel Zak2015-02-25 12:40:06 +0100
commit5d51dc2a7f04d01b33505737fce0f7325c6487b8 (patch)
treebc9947b2d5d6de7d3488a13138b483e6e64de05d /sys-utils/dmesg.c
parentsfdisk: add missing --color (diff)
downloadkernel-qcow2-util-linux-5d51dc2a7f04d01b33505737fce0f7325c6487b8.tar.gz
kernel-qcow2-util-linux-5d51dc2a7f04d01b33505737fce0f7325c6487b8.tar.xz
kernel-qcow2-util-linux-5d51dc2a7f04d01b33505737fce0f7325c6487b8.zip
colors: cleanup man pages, add hint to usage()
cfdisk, fdisk, calm dmesg and hexdump Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.c')
-rw-r--r--sys-utils/dmesg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
index 8360fa311..5a6ee41d9 100644
--- a/sys-utils/dmesg.c
+++ b/sys-utils/dmesg.c
@@ -276,6 +276,8 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
fputs(_(" -H, --human human readable output\n"), out);
fputs(_(" -k, --kernel display kernel messages\n"), out);
fputs(_(" -L, --color[=<when>] colorize messages (auto, always or never)\n"), out);
+ fprintf(out,
+ " %s\n", USAGE_COLORS_DEFAULT);
fputs(_(" -l, --level <list> restrict output to defined levels\n"), out);
fputs(_(" -n, --console-level <level> set level of messages printed to console\n"), out);
fputs(_(" -P, --nopager do not pipe output into a pager\n"), out);