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 paul.j3
Recipients paul.j3, py.user
Date 2015-06-18.01:07:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1434589642.97.0.302820226073.issue24444@psf.upfronthosting.co.za>
In-reply-to
Content
Does this work for

    help='choices: %(choices)s'

Without setting up my own test case, I'm guessing that the problem is with an empty help string.  `help=''` should be ok, but the test handle that probably occurs earlier.

Choices, empty or not, are included earlier in the help line, as well as usage.  So there isn't real need to include them in the user defined part of the help line.

Still, there are other bug issues regarding the formatting of choices.  That part needs refinement to handle very long lists of choices, as well as ones that don't fit the usual 'list' format.
History
Date User Action Args
2015-06-18 01:07:23paul.j3setrecipients: + paul.j3, py.user
2015-06-18 01:07:22paul.j3setmessageid: <1434589642.97.0.302820226073.issue24444@psf.upfronthosting.co.za>
2015-06-18 01:07:22paul.j3linkissue24444 messages
2015-06-18 01:07:21paul.j3create