Skip to content

Commit

Permalink
document PY_COLORS and TOX_SKIP_ENV inside --help (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat authored Sep 21, 2018
1 parent ed72bdd commit f4e62b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/163.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
document inside the ``--help`` how to disable colorized output via the ``PY_COLORS`` operating system environment variable - by :user:`gaborbernat`
2 changes: 2 additions & 0 deletions src/tox/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ def show_help(config):
tw.line()
tw.line("Environment variables", bold=True)
tw.line("TOXENV: comma separated list of environments (overridable by '-e')")
tw.line("TOX_SKIP_ENV: regular expression to filter down from running tox environments")
tw.line(
"TOX_TESTENV_PASSENV: space-separated list of extra environment variables to be "
"passed into test command environments"
)
tw.line("PY_COLORS: 0 disable colorized output, 1 enable (default)")


def show_help_ini(config):
Expand Down

0 comments on commit f4e62b9

Please sign in to comment.