diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-23 19:58:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-23 19:58:23 +0000 |
commit | 909dc8c01d31c23ffe4e89f4ec68850b5d401662 (patch) | |
tree | 88e241a2b384bcd7a33a8f429283540e3d0d2f91 /src/uniq.c | |
parent | 6f468fedb43dff9e6966ec73d3bb61a28d227484 (diff) | |
download | coreutils-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/uniq.c')
-rw-r--r-- | src/uniq.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/uniq.c b/src/uniq.c index 82dbeb234..f81e51aee 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -138,7 +138,11 @@ Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\ Discard all but one of successive identical lines from INPUT (or\n\ standard input), writing to OUTPUT (or standard output).\n\ \n\ +"), stdout); + fputs (_("\ Mandatory arguments to long options are mandatory for short options too.\n\ +"), stdout); + fputs (_("\ -c, --count prefix lines by the number of occurrences\n\ -d, --repeated only print duplicate lines\n\ "), stdout); @@ -155,8 +159,12 @@ Mandatory arguments to long options are mandatory for short options too.\n\ -w, --check-chars=N compare no more than N characters in lines\n\ -N same as -f N\n\ +N same as -s N (obsolescent; will be withdrawn)\n\ +"), stdout); + fputs (_("\ --help display this help and exit\n\ --version output version information and exit\n\ +"), stdout); + fputs (_("\ \n\ A field is a run of whitespace, then non-whitespace characters.\n\ Fields are skipped before chars.\n\ |