summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-05 23:54:33 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-05 23:54:33 +0000
commit34e26c831c63788440cb80bb9d48319d630e8ba2 (patch)
tree833d744a2430e9a17f26a03a7e00c9cbaf01d0fb
parent10b08a0b7e4f0e2ce810bd26d29b459cc7210409 (diff)
downloadportage-34e26c831c63788440cb80bb9d48319d630e8ba2.tar.gz
portage-34e26c831c63788440cb80bb9d48319d630e8ba2.tar.bz2
portage-34e26c831c63788440cb80bb9d48319d630e8ba2.zip
Update the description to reflect the new meaning of PATTERN.
svn path=/main/trunk/; revision=9444
-rwxr-xr-xbin/filter-bash-environment.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/filter-bash-environment.py b/bin/filter-bash-environment.py
index c5d5da45e..8f4b6d0cb 100755
--- a/bin/filter-bash-environment.py
+++ b/bin/filter-bash-environment.py
@@ -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