[issue42258] argparse: show choices once per argument

2020-11-04 Thread mendelmaleh
Change by mendelmaleh : -- components: Library (Lib) nosy: mendelmaleh priority: normal severity: normal status: open title: argparse: show choices once per argument type: behavior versions: Python 3.10 ___ Python tracker <https://bugs.python.

[issue42258] argparse: show choices once per argument

2020-11-11 Thread mendelmaleh
mendelmaleh added the comment: When using more than one flag for an argument, it is redundant to have the choices more than once, since they are the same argument and have the same choices. Showing it once means cleaner output, and often means that the other option lines are shorter, like