[Python-Dev] Python 2.7b1 and argparse's version action

Michael Foord fuzzyman at voidspace.org.uk
Mon Apr 19 00:57:54 CEST 2010


On 19/04/2010 00:52, Antoine Pitrou wrote:
> Steven Bethard<steven.bethard<at>  gmail.com>  writes:
>    
>> I
>> need to a see a consensus from a variety of developers that
>> "--version" is the right answer, and not "-V/--version", etc.
>>      
> Both are ok for me. "-v" as a shortcut for "--version" looks wrong, though. "-v"
> is almost always used for verbosity these days.
>    
Adding -V *could* be incompatible with existing users using it for 
something else. A default '--version' seems like a sensible solution to me.

Michael

>    
>> Note
>> that even though I agree with you that "-v/--version" is probably not
>> the best choice, in the poll[2] 11% of people still wanted this.
>>      
> This strikes me as a small minority.
>
> Regards
>
> Antoine.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
>    


-- 
http://www.ironpythoninaction.com/



More information about the Python-Dev mailing list