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