A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/064834.html below:

[Python-Dev] Python long command line options

[Python-Dev] Python long command line optionsFredrik Lundh fredrik at pythonware.com
Thu May 4 16:21:16 CEST 2006
Heiko Wundram wrote:

>> Personally, I'm +1, but wonder if it would be enough to support '--help'
>> and '--version'. We then could cut out the "best guess" code and the code
>> to enable --opt=value.
>
> The code for the above functionality is about 10-12 lines of C of the whole
> patch.
>
> If there's concensus to remove it, I'll gladly prepare a patch that doesn't
> contain this, but I don't think it's sensible to do so just because it makes
> the code shorter.

> But, the "best guess" functionality most certainly is  debatable on other grounds.

exactly.  as the zen says, "explicit is better than I know what you mean, even if you
don't mean what I think you mean".

I'm +1 on adding --help and --version, +1 on adding -? and /? for windows only,
-0=slightly sceptical if adding a generic long option machinery is worth it, and -1
on a guessing machinery.

</F> 



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4