diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-24 06:40:47 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-24 06:40:47 -0400 |
commit | e2fbf908a516a2333a1b2458a90880e74ecab29b (patch) | |
tree | b30d24c5bba7be91649ab2cce98516677f0c744a /coverage/cmdline.py | |
parent | 403b014f4900beab6646bdcf6334d9db25ceb99b (diff) | |
download | python-coveragepy-e2fbf908a516a2333a1b2458a90880e74ecab29b.tar.gz |
Fix old uses of 'prefixes' that are now 'patterns'
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r-- | coverage/cmdline.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py index e1a447d..a0184af 100644 --- a/coverage/cmdline.py +++ b/coverage/cmdline.py @@ -34,9 +34,9 @@ class Opts(object): ) include = optparse.Option( '', '--include', action='store', - metavar="PRE1,PRE2,...", - help="Include files only when their filename path starts with one of " - "these prefixes." + metavar="PAT1,PAT2,...", + help="Include files only when their filename path matches one of " + "these patterns. Usually needs quoting on the command line." ) pylib = optparse.Option( '-L', '--pylib', action='store_true', @@ -50,15 +50,15 @@ class Opts(object): ) old_omit = optparse.Option( '-o', '--omit', action='store', - metavar="PRE1,PRE2,...", - help="Omit files when their filename path starts with one of these " - "prefixes." + metavar="PAT1,PAT2,...", + help="Omit files when their filename matches one of these patterns. " + "Usually needs quoting on the command line." ) omit = optparse.Option( '', '--omit', action='store', - metavar="PRE1,PRE2,...", - help="Omit files when their filename path starts with one of these " - "prefixes." + metavar="PAT1,PAT2,...", + help="Omit files when their filename matches one of these patterns. " + "Usually needs quoting on the command line." ) output_xml = optparse.Option( '-o', '', action='store', dest="outfile", |