Micah Cowan <[EMAIL PROTECTED]> writes:

> What's up with the -Y option?

IIRC it used to be the option to turn on the use of proxies.  I
retained it for compatibility because many people were using `-Y on'
in their scripts.  It might be the time to retire that option and only
leave the --no-proxy variant documented (since the default is true).

>   -Y,  --proxy                   explicitly turn on proxy.
>        --no-proxy                explicitly turn off proxy.
>
> The problem with that message is that it doesn't indicate the fact
> that -Y requires a boolean argument.
[...]
> If this is the case, shouldn't it also be removed from the output of
> --help as well? Otherwise, what would be the best way to indicate
> that it requires an argument?

To be consistent with how the help messages work, it should probably
say:

-Y,  --proxy=on/off      control use of proxy (normally enabled)

and rely that everyone has understood the "Mandatory arguments to long
options are mandatory for short options too" sentence.  But it's still
inconsistent with other boolean options, where the short form simply
enables the option (or disables it if enabled by default) and takes no
arguments.

-Y should probably just be removed.

Reply via email to