This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bethard
Recipients bethard, petri.lehtinen, pwil3058
Date 2011-12-15.12:23:01
SpamBayes Score 2.0426263e-07
Marked as misclassified No
Message-id <1323951782.28.0.289438385692.issue11708@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that this is a bug in current argparse formatting.

It might be a little difficult to fix though because the current option formatting handles arguments one at a time, and producing something like [arg1 [arg2]] requires some understanding of how arguments interact, which the formatter currently doesn't have.

But patches are certainly welcome.
History
Date User Action Args
2011-12-15 12:23:02bethardsetrecipients: + bethard, pwil3058, petri.lehtinen
2011-12-15 12:23:02bethardsetmessageid: <1323951782.28.0.289438385692.issue11708@psf.upfronthosting.co.za>
2011-12-15 12:23:01bethardlinkissue11708 messages
2011-12-15 12:23:01bethardcreate