From: Jim Meyering Date: Sun, 11 Nov 2001 14:47:28 +0000 (+0000) Subject: (usage): Split --help output into smaller pieces. X-Git-Tag: TEXTUTILS-2_0_17~111 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14c6978cc59f76f64ac3f70f5bd19a30f8109da8;p=platform%2Fupstream%2Fcoreutils.git (usage): Split --help output into smaller pieces. Use fputs, not printf. --- diff --git a/src/split.c b/src/split.c index a02e64a..5af540c 100644 --- a/src/split.c +++ b/src/split.c @@ -88,7 +88,7 @@ usage (int status) Usage: %s [OPTION] [INPUT [PREFIX]]\n\ "), program_name); - printf (_("\ + fputs (_("\ Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default\n\ PREFIX is `x'. With no INPUT, or when INPUT is -, read standard input.\n\ \n\ @@ -96,6 +96,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\ -b, --bytes=SIZE put SIZE bytes per output file\n\ -C, --line-bytes=SIZE put at most SIZE bytes of lines per output file\n\ -l, --lines=NUMBER put NUMBER lines per output file\n\ +"), stdout); + fputs (_("\ -NUMBER same as -l NUMBER\n\ --verbose print a diagnostic to standard error just\n\ before each output file is opened\n\ @@ -103,7 +105,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ --version output version information and exit\n\ \n\ SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\ -")); +"), stdout); puts (_("\nReport bugs to .")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE);