diff options
author | Karel Zak | 2011-08-16 13:04:08 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-16 13:04:08 +0200 |
commit | 130bf041baf40ba78a30be2779366ab1f8cdf109 (patch) | |
tree | 43a3d8b041f40b48b6145173f31c81b363f41394 | |
parent | dmesg: cleanup usage() (diff) | |
download | kernel-qcow2-util-linux-130bf041baf40ba78a30be2779366ab1f8cdf109.tar.gz kernel-qcow2-util-linux-130bf041baf40ba78a30be2779366ab1f8cdf109.tar.xz kernel-qcow2-util-linux-130bf041baf40ba78a30be2779366ab1f8cdf109.zip |
fallocate: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | sys-utils/fallocate.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys-utils/fallocate.c b/sys-utils/fallocate.c index 952dbcd1d..13d7277fe 100644 --- a/sys-utils/fallocate.c +++ b/sys-utils/fallocate.c @@ -49,14 +49,16 @@ static void __attribute__((__noreturn__)) usage(FILE *out) { - fprintf(out, _("Usage: %s [options] <filename>\n\nOptions:\n"), - program_invocation_short_name); - fprintf(out, _( - " -h, --help this help\n" + fputs(_("\nUsage:\n"), out); + fprintf(out, + _(" %s [options] <filename>\n"), program_invocation_short_name); + + fputs(_("\nOptions:\n"), out); + fputs(_(" -h, --help this help\n" " -n, --keep-size don't modify the length of the file\n" " -o, --offset <num> offset of the allocation, in bytes\n" - " -l, --length <num> length of the allocation, in bytes\n")); + " -l, --length <num> length of the allocation, in bytes\n"), out); fprintf(out, _("\nFor more information see fallocate(1).\n")); |