useless-if-before-free: correct --help's exit status description
authorJim Meyering <meyering@redhat.com>
Thu, 1 May 2008 19:12:30 +0000 (21:12 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 1 May 2008 19:12:30 +0000 (21:12 +0200)
* build-aux/useless-if-before-free (usage): Like grep, exit 0
for one or more matches, etc.  Reported by Bruno Haible.

ChangeLog
build-aux/useless-if-before-free

index b39f3b0..52cc0f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-05-01  Jim Meyering  <meyering@redhat.com>
 
+       useless-if-before-free: correct --help's exit status description
+       * build-aux/useless-if-before-free (usage): Like grep, exit 0
+       for one or more matches, etc.  Reported by Bruno Haible.
+
        vc-list-files: make the stand-alone gnulib test work
        * modules/vc-list-files-tests (configure.ac):
        Define and AC_SUBST abs_aux_dir.
index 4603c6c..48f55c6 100755 (executable)
@@ -2,7 +2,7 @@
 # Detect instances of "if (p) free (p);".
 # Likewise for "if (p != NULL) free (p);".  And with braces.
 
-my $VERSION = '2008-04-29 19:56'; # UTC
+my $VERSION = '2008-05-01 19:11'; # UTC
 # The definition above must lie within the first 8 lines in order
 # for the Emacs time-stamp write hook (at end) to update it.
 # If you change this file with Emacs, please let the write hook
@@ -68,8 +68,8 @@ OPTIONS:
 
 Exit status:
 
-  0   no match
-  1   one or more matches
+  0   one or more matches
+  1   no match
   2   an error
 
 EXAMPLE: