summaryrefslogtreecommitdiff
path: root/doc/source.rst
diff options
context:
space:
mode:
authorloic <loic@dachary.org>2017-01-07 14:39:44 +0100
committerloic <loic@dachary.org>2017-01-07 14:39:44 +0100
commitc80eedd40b8650066928a94c7ae3680b38a10e67 (patch)
tree8604448885a2ec9c06f53509e75224e4a157b41e /doc/source.rst
parentf5587814d1aa983ad995b2c1acc391f6251ceda0 (diff)
downloadpython-coveragepy-c80eedd40b8650066928a94c7ae3680b38a10e67.tar.gz
* --source and --include are mutually exclusive (take 2) #265
close #265 close #101
Diffstat (limited to 'doc/source.rst')
-rw-r--r--doc/source.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/source.rst b/doc/source.rst
index 8d831c4..640fc43 100644
--- a/doc/source.rst
+++ b/doc/source.rst
@@ -66,6 +66,9 @@ are interpreted relative to the current directory::
The ``source``, ``include``, and ``omit`` values all work together to determine
the source that will be measured.
+If both ``source`` and ``include`` are set, the ``include`` value is ignored
+and a warning is printed on the standard output.
+
.. _source_reporting: