Update the description to reflect the new meaning of PATTERN.
authorZac Medico <zmedico@gentoo.org>
Wed, 5 Mar 2008 23:54:33 +0000 (23:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 5 Mar 2008 23:54:33 +0000 (23:54 -0000)
svn path=/main/trunk/; revision=9444

bin/filter-bash-environment.py

index c5d5da45e4867288304949e5b81a62ff1c238ad9..8f4b6d0cbc3bef767b8d8c889f4a438b6044febd 100755 (executable)
@@ -90,9 +90,10 @@ if __name__ == "__main__":
        description = "Filter out variable assignments for varable " + \
                "names matching a given PATTERN " + \
                "while leaving bash function definitions and here-documents " + \
-               "intact. The PATTERN should use python regular expression syntax" + \
-               " but [:digit:], [:space:] and " + \
-               "[:alnum:] character classes will be automatically translated " + \
+               "intact. The PATTERN is a space separated list of variable names" + \
+               " and it supports python regular expression syntax in addition to" + \
+               " [:alnum:], [:digit:], and [:space:] " + \
+               "character classes which will be automatically translated " + \
                "for compatibility with egrep syntax."
        usage = "usage: %s PATTERN" % os.path.basename(sys.argv[0])
        from optparse import OptionParser