From d60e04424d12764e8f441db111f7466326cdc8e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Fri, 1 Nov 2013 10:20:23 +0000 Subject: [PATCH] md5sum, sha*sum: improve help for --check related options * 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 9cc15c5f40..891b376e01 100644 --- a/THANKS.in +++ b/THANKS.in @@ -138,6 +138,7 @@ Dameon G. Rogers dgr03@uark.edu Dan Hagerty hag@gnu.ai.it.edu Dan Pascu dan@services.iiruc.ro Daniel Bergstrom noa@melody.se +Daniel Mach dmach@redhat.com Daniel P. Berrangé berrange@redhat.com Daniel Stavrovski d@stavrovski.net Daniel Tschinder daniel.tschinder@project-a.com diff --git a/src/md5sum.c b/src/md5sum.c index bf7eb81a60..ee2bbb781a 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -194,14 +194,12 @@ 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); -- 2.47.2