[New-bugs-announce] [issue27303] [argparse] Unify options in help output

Memeplex report at bugs.python.org
Sun Jun 12 16:21:38 EDT 2016


New submission from Memeplex:

Currently when you specify more than one name for an option (typically short and long versions) each name is listed with its entire arg list. This is annoying for options taking many args or choices, for example:
 
  --type {html,pdf,github,blogger}, -t {html,pdf,github,blogger}

Wouldn't it be better to just show something like:

  --type|-t {html,pdf,github,blogger}

----------
components: Library (Lib)
messages: 268400
nosy: bethard, memeplex
priority: normal
severity: normal
status: open
title: [argparse] Unify options in help output
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27303>
_______________________________________


More information about the New-bugs-announce mailing list