summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coverage/cmdline.py12
-rw-r--r--doc/python-coverage.1.txt4
2 files changed, 8 insertions, 8 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index 19e0536e..9b807040 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -46,8 +46,8 @@ class Opts(object):
include = optparse.make_option(
'', '--include', action='store',
metavar="PAT1,PAT2,...",
- help="Include files only when their filename path matches one of "
- "these patterns. Usually needs quoting on the command line."
+ help="Include only files whose paths match one of these patterns."
+ "Accepts shell-style wildcards, which must be quoted."
)
pylib = optparse.make_option(
'-L', '--pylib', action='store_true',
@@ -62,14 +62,14 @@ class Opts(object):
old_omit = optparse.make_option(
'-o', '--omit', action='store',
metavar="PAT1,PAT2,...",
- help="Omit files when their filename matches one of these patterns. "
- "Usually needs quoting on the command line."
+ help="Omit files whose paths match one of these patterns. "
+ "Accepts shell-style wildcards, which must be quoted."
)
omit = optparse.make_option(
'', '--omit', action='store',
metavar="PAT1,PAT2,...",
- help="Omit files when their filename matches one of these patterns. "
- "Usually needs quoting on the command line."
+ help="Omit files whose paths match one of these patterns. "
+ "Accepts shell-style wildcards, which must be quoted."
)
output_xml = optparse.make_option(
'-o', '', action='store', dest="outfile",
diff --git a/doc/python-coverage.1.txt b/doc/python-coverage.1.txt
index 89c70b53..9ea5f4ee 100644
--- a/doc/python-coverage.1.txt
+++ b/doc/python-coverage.1.txt
@@ -76,8 +76,8 @@ GLOBAL OPTIONS
Usually needs quoting on the command line.
**--include** `PATTERN` [ , ... ]
- Include files only when their filename path matches one of these
- PATTERNs. Usually needs quoting on the command line.
+ Include only files whose paths match one of these
+ PATTERNs. Accepts shell-style wildcards, which must be quoted.
COMMAND REFERENCE