]> sjero.net Git - wget/commitdiff
[svn] Added --dont-remove-listing, removed -s.
authorhniksic <devnull@localhost>
Sat, 8 Nov 2003 20:13:24 +0000 (12:13 -0800)
committerhniksic <devnull@localhost>
Sat, 8 Nov 2003 20:13:24 +0000 (12:13 -0800)
src/ChangeLog
src/main.c

index 2c4494a19ece49367b8d4dd0b75302eac9e9a398..a5edfc06364c29fba2bc46f231a390484d07ac97 100644 (file)
@@ -1,3 +1,9 @@
+2003-11-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * main.c (main): Add --dont-remove-listing for backward
+       compatibility with previous versions.
+       (print_help): Fix typo, spotted by Dennis Smit.
+
 2003-11-08  Gisle Vanem  <giva@bgnett.no>
 
        * ftp-basic.c: Support Windows-2000 ftp servers. Win-2000 *is*
index a3ad522d6f2e93e3458d4a196a9f31e1e741ec57..88552c71d5ef8b0080b297bb4ac4cd0cbf1cf43c 100644 (file)
@@ -140,6 +140,7 @@ struct cmdline_option {
        main().  */
     OPT__APPEND_OUTPUT,
     OPT__CLOBBER,
+    OPT__DONT_REMOVE_LISTING,
     OPT__EXECUTE,
     OPT__NO,
     OPT__PARENT,
@@ -171,6 +172,7 @@ struct cmdline_option option_data[] =
     { "dns-cache", 0, OPT_BOOLEAN, "dnscache", -1 },
     { "dns-timeout", 0, OPT_VALUE, "dnstimeout", -1 },
     { "domains", 'D', OPT_VALUE, "domains", -1 },
+    { "dont-remove-listing", 0, OPT__DONT_REMOVE_LISTING, NULL, no_argument },
     { "dot-style", 0, OPT_VALUE, "dotstyle", -1 },
     { "egd-file", 0, OPT_VALUE, "egdfile", -1 },
     { "exclude-directories", 'X', OPT_VALUE, "excludedirectories", -1 },
@@ -488,7 +490,7 @@ HTTP options:\n"),
     N_("\
        --referer=URL           include `Referer: URL' header in HTTP request.\n"),
     N_("\
-  -s,  --save-headers          save the HTTP headers to file.\n"),
+       --save-headers          save the HTTP headers to file.\n"),
     N_("\
   -U,  --user-agent=AGENT      identify as AGENT instead of Wget/VERSION.\n"),
     N_("\
@@ -523,7 +525,7 @@ HTTPS (SSL) options:\n"),
     N_("\
        --sslcerttype=0/1     Client-Cert type 0=PEM (default) / 1=ASN1 (DER)\n"),
     N_("\
-       --sslcheckcert=0/1    Check the server cert agenst given CA\n"),
+       --sslcheckcert=0/1    Check the server cert against given CA\n"),
     N_("\
        --sslprotocol=0-3     choose SSL protocol; 0=automatic,\n"),
     N_("\
@@ -753,6 +755,9 @@ main (int argc, char *const *argv)
                       flag ? "0" : "1");
            break;
          }
+       case OPT__DONT_REMOVE_LISTING:
+         setoptval ("removelisting", "0");
+         break;
        }
 
       longindex = -1;