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

--spider or --delete-after implies --no-directories.

This commit is contained in:
Micah Cowan 2007-10-14 22:41:29 -07:00
parent 68740f10dd
commit d905504a0a
2 changed files with 13 additions and 11 deletions

View File

@ -1,13 +1,3 @@
2007-10-14 Micah Cowan <micah@cowan.name>
* recur.c (download_child_p): Print error if unlink of
robots.txt fails.
2007-10-14 Joshua David Williams <yurimxpxman@gmail.com>
* recur.c (download_child_p): Remove robots.txt if
--delete-after or --spider is on.
2007-10-14 Micah Cowan <micah@cowan.name>
* cmpt.c, cookies.c, ftp-basic.c, ftp-ls.c, ftp.c, hash.c,
@ -17,6 +7,15 @@
* gnu-md5.c, gnu-md5.h: Removed, in deference to gnulib.
* Makefile.am: Removed gnu-md5.h from wget_SOURCES.
* gen-md5.c: Changed #inclusion of gnu-md5.h to md5.h (gnulib's).
* recur.c (download_child_p): Print error if unlink of
robots.txt fails.
* main.c (main): --spider or --delete-after now implies
--no-directories (thanks, Josh Williams).
2007-10-14 Joshua David Williams <yurimxpxman@gmail.com>
* recur.c (download_child_p): Remove robots.txt if
--delete-after or --spider is on.
2007-10-13 Micah Cowan <micah@cowan.name>

View File

@ -832,7 +832,10 @@ main (int argc, char *const *argv)
interoption dependency checks. */
if (opt.reclevel == 0)
opt.reclevel = INFINITE_RECURSION; /* see recur.h for commentary on this */
opt.reclevel = INFINITE_RECURSION; /* see recur.h for commentary */
if (opt.spider || opt.delete_after)
opt.no_dirstruct = true;
if (opt.page_requisites && !opt.recursive)
{