New submission from helmsman helmsman <whalebot.helms...@gmail.com>:

Sometimes you want to provide format description in help message for 
argparse.add_argument, e.g. for comma-separated key/value set "--flag 
key1=value1,key2=value2". At this moment there is no format specifier for flag 
or name of arguments.
I propose add new %(flag)s specifier for help strings, see example.py

----------
components: Library (Lib)
files: example.py
messages: 325788
nosy: helmsman helmsman
priority: normal
severity: normal
status: open
title: New %(flag)s format specifier for argparse.add_argument help string
type: enhancement
Added file: https://bugs.python.org/file47815/example.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to