]> sjero.net Git - wget/commitdiff
Documentation updates for --default-page.
authorMicah Cowan <micah@cowan.name>
Mon, 4 Aug 2008 05:36:38 +0000 (22:36 -0700)
committerMicah Cowan <micah@cowan.name>
Mon, 4 Aug 2008 05:36:38 +0000 (22:36 -0700)
doc/ChangeLog
doc/wget.texi
src/ChangeLog
src/main.c

index 08a254b346b5de6f7bdb88b8e6317b485bea1c59..cea5f7b51864a1c54512df6e476769bc0b8690ee 100644 (file)
@@ -1,6 +1,7 @@
 2008-08-03  Micah Cowan  <micah@cowan.name>
 
        * wget.texi: Don't set UPDATED; already set by version.texi.
+       (HTTP Options): Add --default-page option.
 
 2008-07-17  Steven Schubiger  <stsc@members.fsf.org>
 
index 17553da4e8147f947ef9475cd0ecc7a6d35fa8ba..9cb5db9982cf66152352da79c7fd6ec7c8591751 100644 (file)
@@ -1075,6 +1075,12 @@ current directory).
 @section HTTP Options
 
 @table @samp
+@cindex default page name
+@cindex index.html
+@item --default-page=@var{name}
+Use @var{name} as the default file name when it isn't known (i.e., for
+URLs that end in a slash), instead of @file{index.html}.
+
 @cindex .html extension
 @item -E
 @itemx --html-extension
index 0f4ec3667cf7e236f6d77db68edf618fa8b7d105..3f587b2087cc9858c38344097b429174a5233a49 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-03  Micah Cowan  <micah@cowan.name>
+
+       * main.c (print_help): Added --default-page.
+
 2008-08-01  Joao Ferreira  <joao@joaoff.com>
 
        * init.c, main.c, options.h, url.c: Added option --default-page
index 277dd0e969e7ad85c327370952aa9d775e042b0f..a7c00b1cbc5372c32589ae8f7710b9a888d16452 100644 (file)
@@ -514,6 +514,9 @@ HTTP options:\n"),
        --http-password=PASS    set http password to PASS.\n"),
     N_("\
        --no-cache              disallow server-cached data.\n"),
+    N_ ("\
+       --default-page=NAME     Change the default page name (normally\n\
+                               this is `index.html'.).\n"),
     N_("\
   -E,  --html-extension        save HTML documents with `.html' extension.\n"),
     N_("\