summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.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 /text-utils/hexdump.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 'text-utils/hexdump.c')
-rw-r--r--text-utils/hexdump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/text-utils/hexdump.c b/text-utils/hexdump.c
index 9ee5cb7c9..cc1fdf1b8 100644
--- a/text-utils/hexdump.c
+++ b/text-utils/hexdump.c
@@ -165,6 +165,8 @@ void __attribute__((__noreturn__)) usage(FILE *out)
fputs(_(" -o, --two-bytes-octal two-byte octal display\n"), out);
fputs(_(" -x, --two-bytes-hex two-byte hexadecimal display\n"), out);
fputs(_(" -L, --color[=<mode>] interpret color formatting specifiers\n"), out);
+ fprintf(out,
+ " %s\n", USAGE_COLORS_DEFAULT);
fputs(_(" -e, --format <format> format string to be used for displaying data\n"), out);
fputs(_(" -f, --format-file <file> file that contains format strings\n"), out);
fputs(_(" -n, --length <length> interpret only length bytes of input\n"), out);