[issue13818] argparse: -h listening required options under optional arguments
Changes by Steven Bethard steven.beth...@gmail.com: -- resolution: - duplicate status: open - closed superseder: - argparse: Default Help Message Lists Required Args As Optional ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13818 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13818] argparse: -h listening required options under optional arguments
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +bethard stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13818 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13818] argparse: -h listening required options under optional arguments
New submission from Miguel Godinho m...@miguelgodinho.com: Adding a 'required optional argument' as with: ``` app.add_argument('--dbsnp', required=True) ``` will still result on having that argument listed under the optional when the app is called with the help option (-h) Please note that the usage line is rendered ok (no square brackets around the 'required optional argument'). -- components: Library (Lib) messages: 151562 nosy: mgodinho priority: normal severity: normal status: open title: argparse: -h listening required options under optional arguments type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13818 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com