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

Document combination of -nc and -O

Fixes #46359
This commit is contained in:
Tim Rühsen 2015-11-03 15:12:11 +01:00
parent 6cdfc9c143
commit b041658451

View File

@ -608,6 +608,9 @@ content will be placed in @var{file}. This was disabled in version
1.11, but has been reinstated (with a warning) in 1.11.2, as there are 1.11, but has been reinstated (with a warning) in 1.11.2, as there are
some cases where this behavior can actually have some use. some cases where this behavior can actually have some use.
A combination with @samp{-nc} is only accepted if the given output
file does not exist.
Note that a combination with @samp{-k} is only permitted when Note that a combination with @samp{-k} is only permitted when
downloading a single document, as in that case it will just convert downloading a single document, as in that case it will just convert
all relative URIs to external ones; @samp{-k} makes no sense for all relative URIs to external ones; @samp{-k} makes no sense for
@ -649,6 +652,9 @@ of a file depends on the local and remote timestamp and size of the
file (@pxref{Time-Stamping}). @samp{-nc} may not be specified at the file (@pxref{Time-Stamping}). @samp{-nc} may not be specified at the
same time as @samp{-N}. same time as @samp{-N}.
A combination with @samp{-O}/@samp{--output-document} is only accepted
if the given output file does not exist.
Note that when @samp{-nc} is specified, files with the suffixes Note that when @samp{-nc} is specified, files with the suffixes
@samp{.html} or @samp{.htm} will be loaded from the local disk and @samp{.html} or @samp{.htm} will be loaded from the local disk and
parsed as if they had been retrieved from the Web. parsed as if they had been retrieved from the Web.