Vajrasky Kok added the comment:

Attached the unit test.

Here is the simpler script to product the bug:

------------------------
import argparse
parser = argparse.ArgumentParser(prog='PROG')
parser.add_argument ('--a', metavar='a'*76)
parser.add_argument ('--b', metavar="[innerpart]outerpart")
parser.add_argument ('c', metavar='c'*76)
parser.add_argument ('d', metavar="[innerpart2]outerpart2")
args = parser.parse_args()
------------------------

python thefile.py --help

----------
nosy: +vajrasky
Added file: 
http://bugs.python.org/file30910/unit_test_for_inner_bracket_metavar.txt

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

Reply via email to