[issue33389] argparse redundant help string

Jakub Wilk report at bugs.python.org
Fri May 4 12:58:30 EDT 2018


Jakub Wilk <jwilk at jwilk.net> added the comment:

GNU programs seem to use this format:

   $ ls --help | grep ',.*=[A-Z]'
     -I, --ignore=PATTERN       do not list implied entries matching shell PATTERN
     -T, --tabsize=COLS         assume tab stops at each COLS instead of 8
     -w, --width=COLS           set output width to COLS.  0 means no limit

The argparse format is more accurate, but also less practical, especially for long variable names.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33389>
_______________________________________


More information about the Python-bugs-list mailing list