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

Antoine Pitrou solipsis at pitrou.net
Mon Apr 19 00:52:12 CEST 2010


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.

> 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.




More information about the Python-Dev mailing list