From b0416584510ab761327d2f26e0fc0bfbffd77ad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Tue, 3 Nov 2015 15:12:11 +0100 Subject: [PATCH] Document combination of -nc and -O Fixes #46359 --- doc/wget.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/wget.texi b/doc/wget.texi index d3e42786..c647e337 100644 --- a/doc/wget.texi +++ b/doc/wget.texi @@ -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 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 downloading a single document, as in that case it will just convert 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 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 @samp{.html} or @samp{.htm} will be loaded from the local disk and parsed as if they had been retrieved from the Web.