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 bethard
Recipients bethard
Date 2011-02-10.15:45:51
SpamBayes Score 0.0013289233
Marked as misclassified No
Message-id <1297352753.29.0.422535680818.issue11174@psf.upfronthosting.co.za>
In-reply-to
Content
Suggestion from a personal email:

I generally like my command line arguments that take a
value to specify the type, e.g.,

   --runs int      how many runs to do

Naturally I can do this using the metavars argument in every
add_argument() call, but that can become tedious. So I suggest adding a
metavars argument to the ArgumentParser constructor; default
metavars=None (current behaviour); metavars=type (show type names). And
of course, allow metavars specified in add_argument() calls to override
on a case by case basis.
History
Date User Action Args
2011-02-10 15:45:53bethardsetrecipients: + bethard
2011-02-10 15:45:53bethardsetmessageid: <1297352753.29.0.422535680818.issue11174@psf.upfronthosting.co.za>
2011-02-10 15:45:51bethardlinkissue11174 messages
2011-02-10 15:45:51bethardcreate