summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-23 19:58:23 +0000
committerJim Meyering <jim@meyering.net>2001-11-23 19:58:23 +0000
commit909dc8c01d31c23ffe4e89f4ec68850b5d401662 (patch)
tree88e241a2b384bcd7a33a8f429283540e3d0d2f91 /src/split.c
parent6f468fedb43dff9e6966ec73d3bb61a28d227484 (diff)
downloadcoreutils-909dc8c01d31c23ffe4e89f4ec68850b5d401662.tar.xz
Factor out some common strings to make translation easier.
Split usage strings so that --help and --version descriptions are alone in their own string. Likewise for the one that says: Mandatory arguments to long options are mandatory for short options too.
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/split.c b/src/split.c
index 5af540c6d..7ffa8417e 100644
--- a/src/split.c
+++ b/src/split.c
@@ -92,17 +92,23 @@ Usage: %s [OPTION] [INPUT [PREFIX]]\n\
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\
+"), stdout);
+ fputs (_("\
Mandatory arguments to long options are mandatory for short options too.\n\
+"), stdout);
+ fputs (_("\
-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\
+"), stdout);
+ fputs (_("\
--help display this help and exit\n\
--version output version information and exit\n\
+"), stdout);
+ fputs (_("\
\n\
SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\
"), stdout);