]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fallocate: cleanup usage()
authorKarel Zak <kzak@redhat.com>
Tue, 16 Aug 2011 11:04:08 +0000 (13:04 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Aug 2011 11:04:08 +0000 (13:04 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fallocate.c

index 952dbcd1de6850a2caeab402c0904f366920658c..13d7277fe8669644abf3056033d8424b29cbca57 100644 (file)
 
 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"));