summaryrefslogtreecommitdiff
path: root/src/csplit.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/csplit.c
parent6f468fedb43dff9e6966ec73d3bb61a28d227484 (diff)
downloadcoreutils-909dc8c01d31c23ffe4e89f4ec68850b5d401662.tar.gz
coreutils-909dc8c01d31c23ffe4e89f4ec68850b5d401662.tar.bz2
coreutils-909dc8c01d31c23ffe4e89f4ec68850b5d401662.zip
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/csplit.c')
-rw-r--r--src/csplit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/csplit.c b/src/csplit.c
index adea98e63..3af18c928 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -1500,7 +1500,11 @@ Usage: %s [OPTION]... FILE PATTERN...\n\
Output pieces of FILE separated by PATTERN(s) to files `xx01', `xx02', ...,\n\
and output byte counts of each piece to standard output.\n\
\n\
+"), stdout);
+ fputs (_("\
Mandatory arguments to long options are mandatory for short options too.\n\
+"), stdout);
+ fputs (_("\
-b, --suffix-format=FORMAT use sprintf FORMAT instead of %d\n\
-f, --prefix=PREFIX use PREFIX instead of `xx'\n\
-k, --keep-files do not remove output files on errors\n\
@@ -1509,8 +1513,12 @@ Mandatory arguments to long options are mandatory for short options too.\n\
-n, --digits=DIGITS use specified number of digits instead of 2\n\
-s, --quiet, --silent do not print counts of output file sizes\n\
-z, --elide-empty-files remove empty output files\n\
+"), stdout);
+ fputs (_("\
--help display this help and exit\n\
--version output version information and exit\n\
+"), stdout);
+ fputs (_("\
\n\
Read standard input if FILE is -. Each PATTERN may be:\n\
"), stdout);