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 mattpr
Recipients bethard, eric.araujo, htnieman, mZarjk, manveru, mattpr, paul.j3, spaceone, vajrasky, wolma, xuanji, ysj.ray
Date 2016-03-21.08:33:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458549199.89.0.825783841759.issue11874@psf.upfronthosting.co.za>
In-reply-to
Content
Same AssertionError is also caused by having certain "choices".

Python 2.7.10

global_options.add_argument('--field-sep', choices=[',',';','|','\t'], required=True, help='Field separator that separates columns in a row.')

Removing required=True or removing the tab (\t) from the options both work around this usage formatter issue for me.

I know this is an old issue but figured I would add another repro case to help whoever might work on this.
History
Date User Action Args
2016-03-21 08:33:20mattprsetrecipients: + mattpr, bethard, eric.araujo, ysj.ray, xuanji, htnieman, manveru, paul.j3, vajrasky, wolma, mZarjk, spaceone
2016-03-21 08:33:19mattprsetmessageid: <1458549199.89.0.825783841759.issue11874@psf.upfronthosting.co.za>
2016-03-21 08:33:19mattprlinkissue11874 messages
2016-03-21 08:33:19mattprcreate