summaryrefslogtreecommitdiff
path: root/coverage/cmdline.py
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 /coverage/cmdline.py
parent3d3dfc871f102f64737883ea78777a89b6126794 (diff)
downloadpython-coveragepy-git-c5e3f3751d1ea54b8e75b0d589f8912c4aaa63c6.tar.gz
Document COVERAGE_RCFILE
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r--coverage/cmdline.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index 5baf07a0..ea86b445 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -44,7 +44,7 @@ class Opts(object):
)
debug = optparse.make_option(
'', '--debug', action='store', metavar="OPTS",
- help="Debug options, separated by commas",
+ help="Debug options, separated by commas. [env: COVERAGE_DEBUG]",
)
directory = optparse.make_option(
'-d', '--directory', action='store', metavar="DIR",
@@ -116,8 +116,9 @@ class Opts(object):
rcfile = optparse.make_option(
'', '--rcfile', action='store',
help=(
- "Specify configuration file. "
- "By default '.coveragerc', 'setup.cfg' and 'tox.ini' are tried."
+ "Specify configuration file. "
+ "By default '.coveragerc', 'setup.cfg' and 'tox.ini' are tried. "
+ "[env: COVERAGE_RCFILE]"
),
)
source = optparse.make_option(
@@ -127,7 +128,7 @@ class Opts(object):
timid = optparse.make_option(
'', '--timid', action='store_true',
help=(
- "Use a simpler but slower trace method. Try this if you get "
+ "Use a simpler but slower trace method. Try this if you get "
"seemingly impossible results!"
),
)