From d74236dee48046d9f390bb54e390a5a03d089e07 Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Mon, 2 Dec 2019 03:15:21 +0100 Subject: [PATCH] update help comment about PY_COLORS --- src/tox/session/commands/help.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tox/session/commands/help.py b/src/tox/session/commands/help.py index 6043e9f64f..a62023981c 100644 --- a/src/tox/session/commands/help.py +++ b/src/tox/session/commands/help.py @@ -10,5 +10,8 @@ def show_help(config): "TOX_TESTENV_PASSENV: space-separated list of extra environment variables to be " "passed into test command environments" ) - reporter.line("PY_COLORS: 0 disable colorized output, 1 enable (default)") reporter.line("TOX_PARALLEL_NO_SPINNER: 1 disable spinner for CI, 0 enable (default)") + reporter.line( + "tox depends on py.io.TerminalWriter to handle colouring, which supports forcing " + "the behaviour with PY_COLORS: 0 disable colorized output, 1 enable (default if tty)." + )