|
|
b2edc3 |
From ef6be60dcaf424bdb21392aff42331bd4dc272e0 Mon Sep 17 00:00:00 2001
|
|
|
b2edc3 |
From: Kamil Dudka <kdudka@redhat.com>
|
|
|
b2edc3 |
Date: Thu, 14 Mar 2019 13:48:01 +0100
|
|
|
b2edc3 |
Subject: [PATCH] md5sum,b2sum,sha*sum: --help: add note about binary/text mode
|
|
|
b2edc3 |
|
|
|
b2edc3 |
* src/md5sum.c (usage): Make it clear that there is no difference
|
|
|
b2edc3 |
between binary mode and text mode on GNU systems.
|
|
|
b2edc3 |
|
|
|
b2edc3 |
Bug: https://bugzilla.redhat.com/406981
|
|
|
b2edc3 |
Bug: https://bugzilla.redhat.com/1688740
|
|
|
b2edc3 |
|
|
|
b2edc3 |
Upstream-commit: ae61b1066351bb784b54fbfd7b52caf129ec286c
|
|
|
b2edc3 |
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
|
|
b2edc3 |
---
|
|
|
b2edc3 |
src/md5sum.c | 5 ++++-
|
|
|
b2edc3 |
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
b2edc3 |
|
|
|
b2edc3 |
diff --git a/src/md5sum.c b/src/md5sum.c
|
|
|
b2edc3 |
index 3532f7b7a..f75b6de02 100644
|
|
|
b2edc3 |
--- a/src/md5sum.c
|
|
|
b2edc3 |
+++ b/src/md5sum.c
|
|
|
b2edc3 |
@@ -287,7 +287,10 @@ The following five options are useful only when verifying checksums:\n\
|
|
|
b2edc3 |
The sums are computed as described in %s. When checking, the input\n\
|
|
|
b2edc3 |
should be a former output of this program. The default mode is to print a\n\
|
|
|
b2edc3 |
line with checksum, a space, a character indicating input mode ('*' for binary,\
|
|
|
b2edc3 |
-\n' ' for text or where binary is insignificant), and name for each FILE.\n"),
|
|
|
b2edc3 |
+\n' ' for text or where binary is insignificant), and name for each FILE.\n\
|
|
|
b2edc3 |
+\n\
|
|
|
b2edc3 |
+Note: There is no difference between binary mode and text mode on GNU systems.\
|
|
|
b2edc3 |
+\n"),
|
|
|
b2edc3 |
DIGEST_REFERENCE);
|
|
|
b2edc3 |
emit_ancillary_info (PROGRAM_NAME);
|
|
|
b2edc3 |
}
|
|
|
b2edc3 |
--
|
|
|
b2edc3 |
2.17.2
|
|
|
b2edc3 |
|