summaryrefslogtreecommitdiff
path: root/src/ptx.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/ptx.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/ptx.c')
-rw-r--r--src/ptx.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/ptx.c b/src/ptx.c
index 9747e87a6..27a311736 100644
--- a/src/ptx.c
+++ b/src/ptx.c
@@ -1863,7 +1863,11 @@ Usage: %s [OPTION]... [INPUT]... (without -G)\n\
fputs (_("\
Output a permuted index, including context, of the words in the input files.\n\
\n\
+"), stdout);
+ fputs (_("\
Mandatory arguments to long options are mandatory for short options too.\n\
+"), stdout);
+ fputs (_("\
-A, --auto-reference output automatically generated references\n\
-C, --copyright display Copyright and copying conditions\n\
-G, --traditional behave more like System V `ptx'\n\
@@ -1888,11 +1892,15 @@ Mandatory arguments to long options are mandatory for short options too.\n\
-r, --references first field of each line is a reference\n\
-t, --typeset-mode - not implemented -\n\
-w, --width=NUMBER output width in columns, reference excluded\n\
+"), stdout);
+ fputs (_("\
--help display this help and exit\n\
--version output version information and exit\n\
+"), stdout);
+ fputs (_("\
\n\
-With no FILE or if FILE is -, read Standard Input. `-F /' by default.\n"),
- stdout);
+With no FILE or if FILE is -, read Standard Input. `-F /' by default.\n\
+"), stdout);
}
exit (status);
}