From 86535835fe2c1fb73f0eeed4b2b1f1d95987272b Mon Sep 17 00:00:00 2001 From: Erik Auerswald Date: Sun, 1 Jun 2008 12:40:40 +0200 Subject: md5sum: new option, --quiet, to suppress OK messages sha1sum, sha224sum, sha384sum, and sha512sum accept it, too. * src/md5sum.c: add option --quiet to suppress OK messages * doc/coreutils.texi: document option --quiet * tests/misc/md5sum: add test for option --quiet * NEWS: mention new option --quiet for md5sum+sha*sum in "New features" section --- doc/coreutils.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/coreutils.texi b/doc/coreutils.texi index dbc8a8b0c..e804d58e3 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -3277,6 +3277,15 @@ an MD5 checksum inconsistent with the associated file, or if no valid line is found, @command{md5sum} exits with nonzero status. Otherwise, it exits successfully. +@itemx --quiet +@opindex --quiet +@cindex verifying MD5 checksums +This option is useful only when verifying checksums. +When verifying checksums, don't generate an 'OK' message per successfully +checked file. Files that fail the verification are reported in the +default one-line-per-file format. If there is any checksum mismatch, +print a warning summarizing the failures to standard error. + @itemx --status @opindex --status @cindex verifying MD5 checksums -- cgit v1.2.3-70-g09d2