Skip to content

Commit 7e0a7ad

Browse files
Fix NO_COLOR
1 parent c4fb950 commit 7e0a7ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ are set.
647647
.. note::
648648

649649
Error messages will include color codes when redirecting stderr to a
650-
file. To avoid this, set the :envvar:`NO_COLOR` or :envvar:`PYTHON_COLORS`
650+
file. To avoid this, set the |NO_COLOR|_ or :envvar:`PYTHON_COLORS`
651651
environment variable (e.g., ``NO_COLOR=1 python script.py 2> errors.txt``).
652652

653653
.. versionadded:: 3.14

0 commit comments

Comments
 (0)