1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Restore old behavior of -Y.

This commit is contained in:
hniksic 2005-04-25 03:13:18 -07:00
parent 9c58e3c1d2
commit e3acbd2aaf
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-04-25 Hrvoje Niksic <hniksic@xemacs.org>
* main.c (option_data): Don't treat -Y as a boolean switch; treat
it as a value switch instead, so "-Y off" continues to work.
2005-04-24 Hrvoje Niksic <hniksic@xemacs.org>
* utils.c (aprintf): Delete unreachable statement.

View File

@ -218,7 +218,8 @@ struct cmdline_option option_data[] =
{ "preserve-permissions", 0, OPT_BOOLEAN, "preservepermissions", -1 },
{ "progress", 0, OPT_VALUE, "progress", -1 },
{ "protocol-directories", 0, OPT_BOOLEAN, "protocoldirectories", -1 },
{ "proxy", 'Y', OPT_BOOLEAN, "useproxy", -1 },
{ "proxy", 0, OPT_BOOLEAN, "useproxy", -1 },
{ "_proxy-compat", 'Y', OPT_VALUE, "useproxy", -1 }, /* back-compatible */
{ "proxy-passwd", 0, OPT_VALUE, "proxypasswd", -1 },
{ "proxy-user", 0, OPT_VALUE, "proxyuser", -1 },
{ "quiet", 'q', OPT_BOOLEAN, "quiet", -1 },