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/cksum.c | |
| parent | (main): Don't split string in the middle of sentence. (diff) | |
| download | coreutils-909dc8c01d31c23ffe4e89f4ec68850b5d401662.tar.gz 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/cksum.c')
| -rw-r--r-- | src/cksum.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cksum.c b/src/cksum.c index 95d4f5cd8..34a3b8133 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -282,12 +282,14 @@ Usage: %s [FILE]...\n\ or: %s [OPTION]\n\ "), program_name, program_name); - printf (_("\ + fputs (_("\ Print CRC checksum and byte counts of each FILE.\n\ \n\ +"), stdout); + fputs (_("\ --help display this help and exit\n\ --version output version information and exit\n\ -")); +"), stdout); puts (_("\nReport bugs to <bug-textutils@gnu.org>.")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); |
