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/paste.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/paste.c')
-rw-r--r-- | src/paste.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/paste.c b/src/paste.c index 061750286..f8ef2ddb2 100644 --- a/src/paste.c +++ b/src/paste.c @@ -404,18 +404,27 @@ usage (int status) Usage: %s [OPTION]... [FILE]...\n\ "), program_name); - printf (_("\ + fputs (_("\ Write lines consisting of the sequentially corresponding lines from\n\ each FILE, separated by TABs, to standard output.\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 (_("\ -d, --delimiters=LIST reuse characters from LIST instead of TABs\n\ -s, --serial paste one file at a time instead of in parallel\n\ +"), stdout); + fputs (_("\ --help display this help and exit\n\ --version output version information and exit\n\ +"), stdout); + /* FIXME: add a couple of examples. */ + fputs (_("\ \n\ -")); +"), stdout); puts (_("\nReport bugs to <bug-textutils@gnu.org>.")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); |