summaryrefslogtreecommitdiff
path: root/doc
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
commit0aed59a6c002c94e12a89b6c1400ecd0420dc2f9 (patch)
tree4e04e76d5e03ef01ef4903d235bf9c84292f8f44 /doc
parentc1f14311c417483b8d92c7d998f6ab0a71229f9d (diff)
downloadpython-coveragepy-0aed59a6c002c94e12a89b6c1400ecd0420dc2f9.tar.gz
Document COVERAGE_RCFILE
Diffstat (limited to 'doc')
-rw-r--r--doc/config.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/config.rst b/doc/config.rst
index c1fb4b1..062aa74 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