summaryrefslogtreecommitdiff
path: root/src/md5sum.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/md5sum.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/md5sum.c')
-rw-r--r--src/md5sum.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index 2771a1240..2014d89fd 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -139,15 +139,19 @@ With no FILE, or when FILE is -, read standard input.\n\
\n\
"),
DIGEST_TYPE_STRING (algorithm));
- printf (_("\
+ fputs (_("\
The following two options are useful only when verifying checksums:\n\
--status don't output anything, status code shows success\n\
-w, --warn warn about improperly formated checksum lines\n\
\n\
+"), stdout);
+ fputs (_("\
--help display this help and exit\n\
--version output version information and exit\n\
+"), stdout);
+ fputs (_("\
\n\
-"));
+"), stdout);
printf (_("\
The sums are computed as described in %s. When checking, the input\n\
should be a former output of this program. The default mode is to print\n\