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.
argparse
1 parent cdb6fe8 commit fa9bb9aCopy full SHA for fa9bb9a
Doc/library/argparse.rst
@@ -639,6 +639,11 @@ by setting ``color`` to ``False``::
639
... help='an integer for the accumulator')
640
>>> parser.parse_args(['--help'])
641
642
+Note that when ``color=True``, colored output depends on both environment
643
+variables and terminal capabilities. However, if ``color=False``, colored
644
+output is always disabled, even if environment variables like ``FORCE_COLOR``
645
+are set.
646
+
647
.. versionadded:: 3.14
648
649
0 commit comments