Re: --spider requires --recursive

2007-08-18 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Matthias Vill wrote: Should --spider imply --recursive? I guess many people expect it to behave that way (and therefore I think it is a good idea that the output complains on not using --recursive, but still some may want to have a

Re: --spider requires --recursive

2007-08-18 Thread Josh Williams
On 8/18/07, Micah Cowan [EMAIL PROTECTED] wrote: I'm not convinced. To me, the name spider implies recursion, and it's counter-intuitive for it not to. As to wasted functionality, what's wrong with -O /dev/null (or NUL or whatever) for simply checking existence? I see his point. The

--spider requires --recursive

2007-08-17 Thread Josh Williams
Is there any particular reason the --spider option requires --recursive? As it is now, we run into the following error if we omit --recursive: [EMAIL PROTECTED]:~/cprojects/wget/src$ ./wget http://www.google.com --spider Spider mode enabled. Check if remote file exists. --00:37:21--

Re: --spider requires --recursive

2007-08-17 Thread Matthias Vill
Hi Josh, the manual reads: --spider When invoked with this option, Wget will behave as a Web spider, which means that it will not down-load the pages, just check that they are there. For example, you can use Wget to check your book-marks: wget --spider --force-html -i