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 da1d468 commit 5415561Copy full SHA for 5415561
Lib/argparse.py
@@ -674,6 +674,11 @@ def _expand_help(self, action):
674
params[name] = value.__name__
675
if params.get('choices') is not None:
676
params['choices'] = ', '.join(map(str, params['choices']))
677
+ # Adding colors to params values
678
+ t = self._theme
679
+ for name in params:
680
+ value = params[name]
681
+ params[name] = f"{t.default_value}{value}{t.reset}"
682
return help_string % params
683
684
def _iter_indented_subactions(self, action):
0 commit comments