]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cal: indent usage()
authorKarel Zak <kzak@redhat.com>
Tue, 16 Aug 2011 10:16:31 +0000 (12:16 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Aug 2011 10:16:38 +0000 (12:16 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/cal.c

index 39999cecf1909c98614f80d52215dfe1288f3885..b3d32dd4f3095c1e4b2bc6e10aa1547d36299fce 100644 (file)
@@ -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);
 }