]> sjero.net Git - wget/blobdiff - src/main.c
Turn off timestamping after the warning.
[wget] / src / main.c
index 1ad0a48cc8c273ae559e426132034b13f9109ef0..421a5501b6e34e4795a9a62e779289e42aff1a2f 100644 (file)
@@ -900,10 +900,10 @@ 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"));
+          opt.timestamping = false;
         }
     }