We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c7a36 commit 4c3513cCopy full SHA for 4c3513c
Doc/library/argparse.rst
@@ -638,9 +638,10 @@ by setting ``color`` to ``False``::
638
... help='an integer for the accumulator')
639
>>> parser.parse_args(['--help'])
640
641
-When ``color=True``, colored output depends on both the environment variables
642
-and the terminal capabilities. But when ``color=False``, colored output is
643
-always disabled.
+Note that when ``color=True``, colored output depends on both environment
+variables and terminal capabilities. However, if ``color=False``, colored
+output is always disabled, even if environment variables like ``FORCE_COLOR``
644
+are set.
645
646
.. versionadded:: 3.14
647
0 commit comments