coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] md5sum, sha*sum: improve help for --check related options


From: Pádraig Brady
Subject: [PATCH] md5sum, sha*sum: improve help for --check related options
Date: Fri, 1 Nov 2013 10:48:31 +0000

* src/md5sum.c (usage): s/three/four/ in the message pertaining
to the --check related options.  Also clarify that --strict
is just significant for the formatting of the checksum lines.
Also since we're changing both strings, move the --strict description
in with the description of the other options and order alphabetically.
* THANKS.in: Added reporter: Daniel Mach
---
 THANKS.in    |    1 +
 src/md5sum.c |    6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/THANKS.in b/THANKS.in
index 9cc15c5..891b376 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -138,6 +138,7 @@ Dameon G. Rogers                    address@hidden
 Dan Hagerty                         address@hidden
 Dan Pascu                           address@hidden
 Daniel Bergstrom                    address@hidden
+Daniel Mach                         address@hidden
 Daniel P. Berrangé                  address@hidden
 Daniel Stavrovski                   address@hidden
 Daniel Tschinder                    address@hidden
diff --git a/src/md5sum.c b/src/md5sum.c
index b437811..dafc23b 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -194,15 +194,13 @@ With no FILE, or when FILE is -, read standard input.\n\
 "), stdout);
       fputs (_("\
 \n\
-The following three options are useful only when verifying checksums:\n\
+The following four options are useful only when verifying checksums:\n\
       --quiet          don't print OK for each successfully verified file\n\
       --status         don't output anything, status code shows success\n\
+      --strict         exit non-zero for improperly formatted checksum lines\n\
   -w, --warn           warn about improperly formatted checksum lines\n\
 \n\
 "), stdout);
-      fputs (_("\
-      --strict         with --check, exit non-zero for any invalid input\n\
-"), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       printf (_("\
-- 
1.7.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]