summaryrefslogtreecommitdiff
path: root/doc/config.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-04-19 07:08:17 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-04-19 07:08:17 -0400
commitc5e3f3751d1ea54b8e75b0d589f8912c4aaa63c6 (patch)
tree9ac596a340900cb1e47bd8621b476286ae66feda /doc/config.rst
parent3d3dfc871f102f64737883ea78777a89b6126794 (diff)
downloadpython-coveragepy-git-c5e3f3751d1ea54b8e75b0d589f8912c4aaa63c6.tar.gz
Document COVERAGE_RCFILE
Diffstat (limited to 'doc/config.rst')
-rw-r--r--doc/config.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/config.rst b/doc/config.rst
index c1fb4b1b..062aa740 100644
--- a/doc/config.rst
+++ b/doc/config.rst
@@ -33,8 +33,9 @@ configuration file are tied to your source code and how it should be measured,
so it should be stored with your source, and checked into source control,
rather than put in your home directory.
-A different name for the configuration file can be specified with the
-``--rcfile=FILE`` command line option.
+A different location for the configuration file can be specified with the
+``--rcfile=FILE`` command line option or with the ``COVERAGE_RCFILE``
+environment variable.
Coverage.py will read settings from other usual configuration files if no other
configuration file is used. It will automatically read from "setup.cfg" or