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

[svn] Make `--cookies' respect its arg.

Published in <sxs4rv8ht5e.fsf@florida.arsdigita.de>.
This commit is contained in:
hniksic 2001-04-29 03:56:43 -07:00
parent dfc1eb5766
commit 00773e7d15
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-04-29 Hrvoje Niksic <hniksic@arsdigita.com>
* main.c (main): Make `--cookies' respect its argument.
2001-04-28 Hrvoje Niksic <hniksic@arsdigita.com>
* main.c (main): Removed undocumented option `--email-address'.

View File

@ -247,7 +247,6 @@ main (int argc, char *const *argv)
{ "backup-converted", no_argument, NULL, 'K' },
{ "continue", no_argument, NULL, 'c' },
{ "convert-links", no_argument, NULL, 'k' },
{ "cookies", no_argument, NULL, 160 },
{ "debug", no_argument, NULL, 'd' },
{ "delete-after", no_argument, NULL, 136 },
{ "dont-remove-listing", no_argument, NULL, 149 },
@ -287,6 +286,7 @@ main (int argc, char *const *argv)
{ "base", required_argument, NULL, 'B' },
{ "bind-address", required_argument, NULL, 155 },
{ "cache", required_argument, NULL, 'C' },
{ "cookies", required_argument, NULL, 160 },
{ "cut-dirs", required_argument, NULL, 145 },
{ "directory-prefix", required_argument, NULL, 'P' },
{ "domains", required_argument, NULL, 'D' },
@ -519,7 +519,7 @@ GNU General Public License for more details.\n"));
setval ("followtags", optarg);
break;
case 160:
setval ("cookies", "on");
setval ("cookies", optarg);
break;
case 161:
setval ("loadcookies", optarg);