summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-01-29 18:44:41 +0000
committerPádraig Brady <P@draigBrady.com>2015-01-29 19:06:57 +0000
commitecc8f8104893f1eaae8a8e7e3e55c8c42f4c7206 (patch)
tree68ad0980858003ed67c21507bc7b77127452373a /src
parent8b2bf5295f353016d4f5e6a2317d55b6a8e7fd00 (diff)
downloadcoreutils-ecc8f8104893f1eaae8a8e7e3e55c8c42f4c7206.tar.xz
doc: clarify the output format for the *sum utilities
* src/md5sum.c (usage): Detail the reasons for the default double space between checksum and file name. * doc/coreutils.texi (md5sum invocation): Likewise. Explicitly mention the 3 formats that --check supports. Fixes http://bugs.gnu.org/19725
Diffstat (limited to 'src')
-rw-r--r--src/md5sum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index a60e2ff3a..8c5f8761b 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -206,9 +206,9 @@ The following four options are useful only when verifying checksums:\n\
printf (_("\
\n\
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 input mode ('*' for binary,\n\
-space for text), and name for each FILE.\n"),
+should be a former output of this program. The default mode is to print a\n\
+line with checksum, a space, a character indicating input mode ('*' for binary,\
+\n' ' for text or where binary is insignificant), and name for each FILE.\n"),
DIGEST_REFERENCE);
emit_ancillary_info (PROGRAM_NAME);
}