From: Karel Zak Date: Tue, 16 Aug 2011 11:04:08 +0000 (+0200) Subject: fallocate: cleanup usage() X-Git-Tag: v2.20-rc2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=130bf041baf40ba78a30be2779366ab1f8cdf109;p=thirdparty%2Futil-linux.git fallocate: cleanup usage() Signed-off-by: Karel Zak --- diff --git a/sys-utils/fallocate.c b/sys-utils/fallocate.c index 952dbcd1de..13d7277fe8 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] \n\nOptions:\n"), - program_invocation_short_name); - fprintf(out, _( - " -h, --help this help\n" + fputs(_("\nUsage:\n"), out); + fprintf(out, + _(" %s [options] \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 offset of the allocation, in bytes\n" - " -l, --length length of the allocation, in bytes\n")); + " -l, --length length of the allocation, in bytes\n"), out); fprintf(out, _("\nFor more information see fallocate(1).\n"));