On Wed, 05 Dec 2007 21:41:14 -0800
Micah Cowan <[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mauro Tortonesi wrote:
> > On Tuesday 20 November 2007 20:38:13 Micah Cowan wrote:
> > 
> >> Be advised, though, that -O doesn't simply mean "make the name of the 
> >> downloaded result `filename'"; it means "act as if you're redirecting 
> >> output 
> >> to a file named `filename'". In particular, this means that such things as
> >> timestamping, and multiple URLs, may not work as you expect.
> > 
> > micah,
> > 
> > i believe this text is a good candidate for inclusion in the man page.
> 
> Heh, I turned your suggestion into a bug... and then, now that I've had
> a chance to take a closer look, I've discovered I already added some
> clarifying text to the -O option's description. How's this look?
> 
> http://hg.addictivecode.org/wget/1.11/rev/5e5eae3f8d9f
> 
> <<<
> Use of `-O' is _not_ intended to mean simply "use the name FILE instead
> of the one in the URL;" rather, it is analogous to shell redirection:
> `wget -O file http://foo' is intended to work like`wget -O - http://foo
> > file'; `file' will be truncated immediately, and _all_ downloaded
> content will be written there.
> 
> Note that a combination with `-k' is only permitted when downloading a
> single document, and combination with any of `-r',`-p', or `-N' is not
> allowed.
> >>>

looks perfect to me. hopefully, now we'll have less complaints from users who 
try -O for multiple downloads ;-)

-- 
Mauro Tortonesi <[EMAIL PROTECTED]>

Reply via email to