homepage

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 wolma
Recipients bethard, eric.araujo, htnieman, mZarjk, manveru, paul.j3, tshepang, vajrasky, wolma, xuanji, ysj.ray
Date 2014年10月28日.23:16:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414538199.71.0.106668240454.issue11874@psf.upfronthosting.co.za>
In-reply-to
Content
It doesn't seem to be the exact same problem, but still this very simple example with parentheses in metavar fails to format correctly:
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("inputfiles", metavar = 'input_file(s)', nargs = "+", help = 'one or more input files')
args = parser.parse_args()
-->
usage: -m [-h] input_files) [input_file(s ...]
positional arguments:
 input_file(s) one or more input files
optional arguments:
 -h, --help show this help message and exit
with the two occurences of input_file(s) being formatted wrong, but differently.
History
Date User Action Args
2014年10月28日 23:16:40wolmasetrecipients: + wolma, bethard, eric.araujo, ysj.ray, xuanji, tshepang, htnieman, manveru, paul.j3, vajrasky, mZarjk
2014年10月28日 23:16:39wolmasetmessageid: <1414538199.71.0.106668240454.issue11874@psf.upfronthosting.co.za>
2014年10月28日 23:16:39wolmalinkissue11874 messages
2014年10月28日 23:16:39wolmacreate

AltStyle によって変換されたページ (->オリジナル) /