mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-141679: Add colour to defaults in argparse help (#141680)
Co-authored-by: Savannah Ostrowski <savannah@python.org>
This commit is contained in:
parent
227b9d326e
commit
e73fbbacbb
4 changed files with 20 additions and 8 deletions
|
|
@ -168,6 +168,8 @@ class Argparse(ThemeSection):
|
|||
short_option: str = ANSIColors.BOLD_GREEN
|
||||
label: str = ANSIColors.BOLD_YELLOW
|
||||
action: str = ANSIColors.BOLD_GREEN
|
||||
default: str = ANSIColors.GREY
|
||||
default_value: str = ANSIColors.YELLOW
|
||||
reset: str = ANSIColors.RESET
|
||||
error: str = ANSIColors.BOLD_MAGENTA
|
||||
warning: str = ANSIColors.BOLD_YELLOW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue