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 <>
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.
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: <>
2014-10-28 23:16:39wolmalinkissue11874 messages
2014-10-28 23:16:39wolmacreate