]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
md5sum,b2sum,sha*sum: --help: add note about binary/text mode
authorKamil Dudka <kdudka@redhat.com>
Thu, 14 Mar 2019 12:48:01 +0000 (13:48 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Mon, 18 Mar 2019 07:48:57 +0000 (08:48 +0100)
* src/md5sum.c (usage): Make it clear that there is no difference
between binary mode and text mode on GNU systems.

Bug: https://bugzilla.redhat.com/406981
Bug: https://bugzilla.redhat.com/1688740

src/md5sum.c

index 3532f7b7a46b1859fa5ea58c7c442f9c1edd1d76..f75b6de02b911c8f83980773c8f28d8966b5081d 100644 (file)
@@ -287,7 +287,10 @@ The following five options are useful only when verifying checksums:\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 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"),
+\n' ' for text or where binary is insignificant), and name for each FILE.\n\
+\n\
+Note: There is no difference between binary mode and text mode on GNU systems.\
+\n"),
               DIGEST_REFERENCE);
       emit_ancillary_info (PROGRAM_NAME);
     }