From: Micah Cowan Date: Mon, 4 Aug 2008 05:36:38 +0000 (-0700) Subject: Documentation updates for --default-page. X-Git-Tag: v1.13~413 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=ba09ad3502552573caef7460914229ceddc907fc Documentation updates for --default-page. --- diff --git a/doc/ChangeLog b/doc/ChangeLog index 08a254b3..cea5f7b5 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,6 +1,7 @@ 2008-08-03 Micah Cowan * wget.texi: Don't set UPDATED; already set by version.texi. + (HTTP Options): Add --default-page option. 2008-07-17 Steven Schubiger diff --git a/doc/wget.texi b/doc/wget.texi index 17553da4..9cb5db99 100644 --- a/doc/wget.texi +++ b/doc/wget.texi @@ -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 diff --git a/src/ChangeLog b/src/ChangeLog index 0f4ec366..3f587b20 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-08-03 Micah Cowan + + * main.c (print_help): Added --default-page. + 2008-08-01 Joao Ferreira * init.c, main.c, options.h, url.c: Added option --default-page diff --git a/src/main.c b/src/main.c index 277dd0e9..a7c00b1c 100644 --- a/src/main.c +++ b/src/main.c @@ -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_("\