From 130bf041baf40ba78a30be2779366ab1f8cdf109 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 16 Aug 2011 13:04:08 +0200 Subject: [PATCH] fallocate: cleanup usage() Signed-off-by: Karel Zak --- sys-utils/fallocate.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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")); -- 2.47.3