summaryrefslogtreecommitdiff
path: root/src/md5sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-11 14:18:46 +0000
committerJim Meyering <jim@meyering.net>2001-11-11 14:18:46 +0000
commit03132c06befcb21cfb0897658f1b8f7635faa081 (patch)
tree2ec5bef2e97f86a5f2e3a6b31282ed3c9df50e7c /src/md5sum.c
parent18cdfb06b1a0e2b3f9d3d767a5e4c1dc3e30d50d (diff)
downloadcoreutils-03132c06befcb21cfb0897658f1b8f7635faa081.tar.xz
(usage): Split --help output into smaller pieces.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r--src/md5sum.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index d20a7db3f..2771a1240 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -127,11 +127,19 @@ Usage: %s [OPTION] [FILE]...\n\
or: %s [OPTION] --check [FILE]\n\
Print or check %s (%d-bit) checksums.\n\
With no FILE, or when FILE is -, read standard input.\n\
+"),
+ program_name, program_name,
+ DIGEST_TYPE_STRING (algorithm),
+ DIGEST_BITS (algorithm));
+ printf (_("\
\n\
-b, --binary read files in binary mode (default on DOS/Windows)\n\
-c, --check check %s sums against given list\n\
-t, --text read files in text mode (default)\n\
\n\
+"),
+ DIGEST_TYPE_STRING (algorithm));
+ printf (_("\
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\
@@ -139,16 +147,13 @@ The following two options are useful only when verifying checksums:\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
+"));
+ 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\
a line with checksum, a character indicating type (`*' for binary, ` ' for\n\
text), and name for each FILE.\n"),
- program_name, program_name,
- DIGEST_TYPE_STRING (algorithm),
- DIGEST_BITS (algorithm),
- DIGEST_TYPE_STRING (algorithm),
- (algorithm == ALG_MD5 ? "RFC 1321" : "FIPS-180-1")
- );
+ (algorithm == ALG_MD5 ? "RFC 1321" : "FIPS-180-1"));
puts (_("\nReport bugs to <bug-textutils@gnu.org>."));
}