diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-20 13:44:11 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-20 13:44:11 -0400 |
commit | 8e5e579f8b9b70345ff8b2ed6650040b73cc7574 (patch) | |
tree | e57aa138b3e0b6a8817bf592d737c40be88865ca /doc/source.rst | |
parent | 4a2c55378422df624c9928327a493c7b2b9c7400 (diff) | |
download | python-coveragepy-8e5e579f8b9b70345ff8b2ed6650040b73cc7574.tar.gz |
Fix 'filename' to be 'file name' in English.
Diffstat (limited to 'doc/source.rst')
-rw-r--r-- | doc/source.rst | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/source.rst b/doc/source.rst index b8dcb7b..fb75a6e 100644 --- a/doc/source.rst +++ b/doc/source.rst @@ -40,14 +40,14 @@ considered, and files with unusual punctuation in their names will be skipped You can further fine-tune coverage.py's attention with the ``--include`` and ``--omit`` switches (or ``[run] include`` and ``[run] omit`` configuration -values). ``--include`` is a list of filename patterns. If specified, only files -matching those patterns will be measured. ``--omit`` is also a list of filename -patterns, specifying files not to measure. If both ``include`` and ``omit`` -are specified, first the set of files is reduced to only those that match the -include patterns, then any files that match the omit pattern are removed from -the set. - -The ``include`` and ``omit`` filename patterns follow typical shell syntax: +values). ``--include`` is a list of file name patterns. If specified, only +files matching those patterns will be measured. ``--omit`` is also a list of +file name patterns, specifying files not to measure. If both ``include`` and +``omit`` are specified, first the set of files is reduced to only those that +match the include patterns, then any files that match the omit pattern are +removed from the set. + +The ``include`` and ``omit`` file name patterns follow typical shell syntax: ``*`` matches any number of characters and ``?`` matches a single character. Patterns that start with a wildcard character are used as-is, other patterns are interpreted relative to the current directory. @@ -69,7 +69,7 @@ parts. The report commands (``report``, ``html``, ``annotate``, and ``xml``) all take optional ``modules`` arguments, and ``--include`` and ``--omit`` switches. The ``modules`` arguments specify particular modules to report on. The ``include`` -and ``omit`` values are lists of filename patterns, just as with the ``run`` +and ``omit`` values are lists of file name patterns, just as with the ``run`` command. Remember that the reporting commands can only report on the data that has been |