[issue15433] argparse usage line is wrong

2012-07-23 Thread Steven Bethard
Changes by Steven Bethard : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue15433] argparse usage line is wrong

2012-07-23 Thread Steven Bethard
Changes by Steven Bethard : -- resolution: -> duplicate superseder: -> argparse optionals with nargs='+' can't be followed by positionals ___ Python tracker ___ __

[issue15433] argparse usage line is wrong

2012-07-23 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue15433] argparse usage line is wrong

2012-07-23 Thread Anton Barkovsky
Changes by Anton Barkovsky : -- nosy: +anton.barkovsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15433] argparse usage line is wrong

2012-07-23 Thread Reinis Ivanovs
New submission from Reinis Ivanovs : I set a positional argument and an optional argument that accepts a list: > parser = argparse.ArgumentParser() > parser.add_argument('foo') > parser.add_argument('-bar', nargs='*') The usage line I get from --help is this: > $ example.py --help > usage: exa