mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Initial revamp of -O documentation
This commit is contained in:
parent
6eb01fc2ce
commit
66f02cb4dc
@ -548,6 +548,13 @@ is used as @var{file}, documents will be printed to standard output,
|
|||||||
disabling link conversion. (Use @samp{./-} to print to a file
|
disabling link conversion. (Use @samp{./-} to print to a file
|
||||||
literally named @samp{-}.)
|
literally named @samp{-}.)
|
||||||
|
|
||||||
|
Use of @samp{-O} is @emph{not} intended to mean simply ``use the name
|
||||||
|
@var{file} instead of the one in the URL;'' rather, it is
|
||||||
|
analogous to shell redirection.
|
||||||
|
@samp{wget -O file http://foo} is intended to work like
|
||||||
|
@samp{wget -O - http://foo > file}. @file{file} will be truncated
|
||||||
|
immediately, and don't expect timestamping to work with it.
|
||||||
|
|
||||||
Note that a combination with @samp{-k} is only well-defined for
|
Note that a combination with @samp{-k} is only well-defined for
|
||||||
downloading a single document.
|
downloading a single document.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user