From: Karel Zak Date: Tue, 16 Aug 2011 10:16:31 +0000 (+0200) Subject: cal: indent usage() X-Git-Tag: v2.20-rc2~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e0b9e21afdac852b7f39e340f1109e53c8f1b5a;p=thirdparty%2Futil-linux.git cal: indent usage() Signed-off-by: Karel Zak --- diff --git a/misc-utils/cal.c b/misc-utils/cal.c index 39999cecf1..b3d32dd4f3 100644 --- a/misc-utils/cal.c +++ b/misc-utils/cal.c @@ -783,18 +783,20 @@ center(str, len, separate) static void __attribute__ ((__noreturn__)) usage(FILE * out) { - fprintf(out, _("Usage: %s [options] [[[day] month] year]\n"), - program_invocation_short_name); - - fprintf(out, _("\nOptions:\n" - " -1, --one show only current month (default)\n" - " -3, --three show previous, current and next month\n" - " -s, --sunday Sunday as first day of week\n" - " -m, --monday Monday as first day of week\n" - " -j, --julian output Julian dates\n" - " -y, --year show whole current year\n" - " -V, --version display version information and exit\n" - " -h, --help display this help text and exit\n\n")); + fputs(_("\nUsage:\n"), out); + fprintf(out, + _(" %s [options] [[[day] month] year]\n"), + program_invocation_short_name); + + fputs(_("\nOptions:\n"), out); + fputs(_(" -1, --one show only current month (default)\n" + " -3, --three show previous, current and next month\n" + " -s, --sunday Sunday as first day of week\n" + " -m, --monday Monday as first day of week\n" + " -j, --julian output Julian dates\n" + " -y, --year show whole current year\n" + " -V, --version display version information and exit\n" + " -h, --help display this help text and exit\n\n"), out); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }