diff options
author | Karel Zak | 2011-08-16 13:02:00 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-16 13:02:00 +0200 |
commit | dcd16b0fb0c6ca118260088ac548df492bc72ce1 (patch) | |
tree | 787a2c88b386e275093a078fb86ca52418fba01d /misc-utils | |
parent | whereis: cleanup usage() (diff) | |
download | kernel-qcow2-util-linux-dcd16b0fb0c6ca118260088ac548df492bc72ce1.tar.gz kernel-qcow2-util-linux-dcd16b0fb0c6ca118260088ac548df492bc72ce1.tar.xz kernel-qcow2-util-linux-dcd16b0fb0c6ca118260088ac548df492bc72ce1.zip |
dmesg: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils')
-rw-r--r-- | misc-utils/wipefs.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index 10102aea4..58fc03d00 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -300,16 +300,17 @@ strtoll_offset(const char *str) static void __attribute__((__noreturn__)) usage(FILE *out) { - fprintf(out, _("Usage: %s [options] <device>\n\nOptions:\n"), - program_invocation_short_name); - - fprintf(out, _( - " -a, --all wipe all magic strings (BE CAREFUL!)\n" - " -h, --help show this help text\n" - " -n, --no-act do everything except the actual write() call\n" - " -o, --offset <num> offset to erase, in bytes\n" - " -p, --parsable print out in parsable instead of printable format\n" - " -V, --version output version information and exit\n")); + fputs(_("\nUsage:\n"), out); + fprintf(out, + _(" %s [options] <device>\n"), program_invocation_short_name); + + fputs(_("\nOptions:\n"), out); + fputs(_(" -a, --all wipe all magic strings (BE CAREFUL!)\n" + " -h, --help show this help text\n" + " -n, --no-act do everything except the actual write() call\n" + " -o, --offset <num> offset to erase, in bytes\n" + " -p, --parsable print out in parsable instead of printable format\n" + " -V, --version output version information and exit\n"), out); fprintf(out, _("\nFor more information see wipefs(8).\n")); |