I'm with Martin; just let it be explicit and stick an example in the docs.

-Brett (from his phone with hopefully only one copy sent of this email)

On Apr 18, 2010 9:22 PM, Martin v. Löwis <mar...@v.loewis.de> wrote:

> - many optparse programs use the version argument
> - many other programmers find this feature ver...
You actually brought up a good reason yourself:


In the face of ambiguity, refuse the temptation to guess.
If you ask "give me a version argument", the question is "how is it
spelled?". IIUC, you originally complained that the spelling of argparse
(i.e. -v/--version) is not good, and that a different spelling should be
used. So it's ambiguous, in which case the feature shouldn't be provided
in the first place.

Regards,
Martin

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http:/...
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to