From ba09ad3502552573caef7460914229ceddc907fc Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Sun, 3 Aug 2008 22:36:38 -0700 Subject: [PATCH] Documentation updates for --default-page. --- doc/ChangeLog | 1 + doc/wget.texi | 6 ++++++ src/ChangeLog | 4 ++++ src/main.c | 3 +++ 4 files changed, 14 insertions(+) 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_("\ -- 2.39.2