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 | 90072a5d53f5f8d14be67d937990761b62190ad8 (patch) | |
tree | a66e35315bf7155a6fd1a5355a499d7f3fc5d2d3 /coverage/cmdline.py | |
parent | c49fc1a261e47d5eabea8575c3a303cd5dd367ee (diff) | |
download | python-coveragepy-git-90072a5d53f5f8d14be67d937990761b62190ad8.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 e1a447d2..a0184af8 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", |