diff options
author | Karel Zak | 2015-02-25 12:37:55 +0100 |
---|---|---|
committer | Karel Zak | 2015-02-25 12:40:06 +0100 |
commit | 5d51dc2a7f04d01b33505737fce0f7325c6487b8 (patch) | |
tree | bc9947b2d5d6de7d3488a13138b483e6e64de05d /disk-utils/cfdisk.c | |
parent | sfdisk: add missing --color (diff) | |
download | kernel-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 'disk-utils/cfdisk.c')
-rw-r--r-- | disk-utils/cfdisk.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index aa989ec0d..e60d9e400 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -2203,8 +2203,10 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out) fputs(_("Display or manipulate a disk partition table.\n"), out); fputs(USAGE_OPTIONS, out); - fputs(_(" -L --color[=<when>] colorize output (auto, always or never)\n"), out); - fputs(_(" -z --zero start with zeroed partition table\n"), out); + fputs(_(" -L, --color[=<when>] colorize output (auto, always or never)\n"), out); + fprintf(out, + " %s\n", USAGE_COLORS_DEFAULT); + fputs(_(" -z, --zero start with zeroed partition table\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); |