summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-11 14:47:28 +0000
committerJim Meyering <jim@meyering.net>2001-11-11 14:47:28 +0000
commit14c6978cc59f76f64ac3f70f5bd19a30f8109da8 (patch)
treeb9eea2b43120222666c3e0f057b65e4940fac1ef /src/split.c
parent997fd16b2d87d29c0e02f8a2d6f9f096a57bd0b4 (diff)
downloadcoreutils-14c6978cc59f76f64ac3f70f5bd19a30f8109da8.tar.xz
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/split.c b/src/split.c
index a02e64aa6..5af540c6d 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 <bug-textutils@gnu.org>."));
}
exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE);