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

Downgrade -N with -O to a warning.

This commit is contained in:
Micah Cowan 2008-05-12 23:54:48 -07:00
parent 54097c0e28
commit e8200e6808
4 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2008-05-12 Micah Cowan <micah@cowan.name>
* wget.texi (Download Options): -N with -O downgraded to a
warning.
2008-04-27 Micah Cowan <micah@cowan.name>
* wget.texi (Download Options) <-O>: Elaborate on why certain

View File

@ -553,9 +553,8 @@ immediately, and @emph{all} downloaded content will be written there.
For this reason, @samp{-N} (for timestamp-checking) is not supported
in combination with @samp{-O}: since @var{file} is always newly
created, it will always have a very new timestamp. Contrary to some
users' expectations, the combination has never worked, and as of
version 1.11, it results in an error.
created, it will always have a very new timestamp. A warning will be
issued if this combination is used.
Similarly, using @samp{-r} or @samp{-p} with @samp{-O} may not work as
you expect: Wget won't just download the first file to @var{file} and

View File

@ -1,3 +1,7 @@
2008-05-12 Micah Cowan <micah@cowan.name>
* main.c (main): Downgrade "-N with -O" to a warning.
2008-04-30 Micah Cowan <micah@cowan.name>
* progress.c (create_image): Fix glitch where too many spaces are

View File

@ -900,10 +900,9 @@ will be placed in the single file you specified.\n\n"));
}
if (opt.timestamping)
{
fputs (_("\
Cannot specify -N if -O is given. See the manual for details.\n\n"), stdout);
print_usage ();
exit (1);
logprintf (LOG_NOTQUIET, "%s", _("\
WARNING: timestamping does nothing in combination with -O. See the manual\n\
for details.\n\n"));
}
}