Author paul.j3
Recipients bethard, paul.j3, tshepang
Date 2014-04-27.06:24:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This patch fixes both help and error formatting.

A module level '_format_metavars' does the formatting for both.

I have tried several alternatives, including using the 'usage' style.

There is similarity between this fix and that for issue 16468 (custom choices), though I don't think they conflict.  In both cases, code needed to format the usage or help is also needed to help format error messages.

Issue 9849 (better nargs warning) is another case where error checking in the parser depends on the formatter.  In the long run we may want to refactor these issues.
Date User Action Args
2014-04-27 06:24:21paul.j3setrecipients: + paul.j3, bethard, tshepang
2014-04-27 06:24:21paul.j3setmessageid: <>
2014-04-27 06:24:21paul.j3linkissue14074 messages
2014-04-27 06:24:20paul.j3create