summaryrefslogtreecommitdiff
path: root/src/nl.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/nl.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/nl.c')
-rw-r--r--src/nl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nl.c b/src/nl.c
index bb59458c3..a3706b969 100644
--- a/src/nl.c
+++ b/src/nl.c
@@ -181,7 +181,11 @@ Usage: %s [OPTION]... [FILE]...\n\
Write each FILE to standard output, with line numbers added.\n\
With no FILE, or when FILE is -, read standard input.\n\
\n\
+"), stdout);
+ fputs (_("\
Mandatory arguments to long options are mandatory for short options too.\n\
+"), stdout);
+ fputs (_("\
-b, --body-numbering=STYLE use STYLE for numbering body lines\n\
-d, --section-delimiter=CC use CC for separating logical pages\n\
-f, --footer-numbering=STYLE use STYLE for numbering footer lines\n\
@@ -197,8 +201,12 @@ Mandatory arguments to long options are mandatory for short options too.\n\
fputs (_("\
-v, --first-page=NUMBER first line number on each logical page\n\
-w, --number-width=NUMBER use NUMBER columns for line numbers\n\
+"), stdout);
+ fputs (_("\
--help display this help and exit\n\
--version output version information and exit\n\
+"), stdout);
+ fputs (_("\
\n\
By default, selects -v1 -i1 -l1 -sTAB -w6 -nrn -hn -bt -fn. CC are\n\
two delimiter characters for separating logical pages, a missing\n\