[Python-Dev] Pronouncement on PEP 389: argparse?

ssteinerX@gmail.com ssteinerx at gmail.com
Tue Dec 15 01:24:21 CET 2009


On Dec 14, 2009, at 2:55 PM, Steven Bethard wrote:

> On Mon, Dec 14, 2009 at 11:35 AM, Olemis Lang <olemis at gmail.com> wrote:
>> On Mon, Dec 14, 2009 at 2:11 PM, Michael Foord
>>> On 14/12/2009 19:04, Ian Bicking wrote:
>>>> Another thing I just noticed is that argparse using -v for version
>>>> where optparse does not (it only adds --version); most of my scripts
>>>> that use -v to mean --verbose, causing problems.  Since this is a poll
>>>> question on the argparse site I assume this is an outstanding question
>>> 
>>> I also use -v for verbose in a few scripts (including options to unittest
>>> when run with python -m). I've seen -V as a common abbreviation for
>>> --version (I've just used this with Mono for example).
>> 
>> Many Unix commands accept these switches too . AFAICR there was an
>> standard (well ...) set of command line options for Unix systems
>> (can't find a link :-/ )

How about this one:

http://www.shelldorado.com/goodcoding/cmdargs.html#flagnames

S



More information about the Python-Dev mailing list