]> sjero.net Git - wget/commitdiff
Downgrade -N with -O to a warning.
authorMicah Cowan <micah@cowan.name>
Tue, 13 May 2008 06:54:48 +0000 (23:54 -0700)
committerMicah Cowan <micah@cowan.name>
Tue, 13 May 2008 06:54:48 +0000 (23:54 -0700)
doc/ChangeLog
doc/wget.texi
src/ChangeLog
src/main.c

index 7157a7681ffb2f3b9075f25e0de08d9ff1397f3c..44c5cd89cd828fa20460aa2e4df42565f29aa76e 100644 (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
index 7a949bfe52ca2052230bda1c9e1ac4d46322d311..3c29f005d27ab054852eb7587b6baac9502c761d 100644 (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
index d618697b53a42a1926036908b28b61b648ab85e8..7d8e5ec58974130fb045016dea146103eb8b7003 100644 (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
index 1ad0a48cc8c273ae559e426132034b13f9109ef0..fbdafd2b1544032912baf8c0fee1b5321b9b6425 100644 (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"));
         }
     }