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
commit0aed59a6c002c94e12a89b6c1400ecd0420dc2f9 (patch)
tree4e04e76d5e03ef01ef4903d235bf9c84292f8f44 /coverage/cmdline.py
parentc1f14311c417483b8d92c7d998f6ab0a71229f9d (diff)
downloadpython-coveragepy-0aed59a6c002c94e12a89b6c1400ecd0420dc2f9.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 5baf07a..ea86b44 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!"
),
)