From 00773e7d151d62e82399165dc07d2ac83c3cf2fe Mon Sep 17 00:00:00 2001 From: hniksic Date: Sun, 29 Apr 2001 03:56:43 -0700 Subject: [PATCH] [svn] Make `--cookies' respect its arg. Published in . --- src/ChangeLog | 4 ++++ src/main.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index cde7aebd..29fd32fd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-04-29 Hrvoje Niksic + + * main.c (main): Make `--cookies' respect its argument. + 2001-04-28 Hrvoje Niksic * main.c (main): Removed undocumented option `--email-address'. diff --git a/src/main.c b/src/main.c index 255bb8c4..d1735246 100644 --- a/src/main.c +++ b/src/main.c @@ -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);