[Top][All Lists]

[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.
* Added reporter: Daniel Mach
---    |    1 +
 src/md5sum.c |    6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ b/
index 9cc15c5..891b376 100644
--- a/
+++ b/
@@ -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 (_("\
-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\
 "), 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 (_("\

reply via email to

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