New submission from Doug Hellmann <doug.hellm...@gmail.com>:

If an ArgumentParser is created with a prefix_chars string that does not 
include '-', the default options created for showing help (-h and --help) and 
the version (-v and --version) are invalid and generate an exception.

----------
components: Library (Lib)
files: argparse_prefix_chars_bug.py
messages: 112219
nosy: doughellmann
priority: normal
severity: normal
status: open
title: argparse does not honor prefix_chars when adding default options
versions: Python 2.7
Added file: http://bugs.python.org/file18292/argparse_prefix_chars_bug.py

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

Reply via email to