From: hniksic Date: Sat, 6 Dec 2003 03:07:10 +0000 (-0800) Subject: [svn] Document the new option --protocol-directories. X-Git-Tag: v1.13~1341 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=0e74e24d95f33575ff2e189bc637bdc4a13c280b [svn] Document the new option --protocol-directories. --- diff --git a/doc/ChangeLog b/doc/ChangeLog index 61b25649..38e59532 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2003-12-06 Hrvoje Niksic + + * wget.texi: Document the new option `--protocol-directories'. + 2003-11-15 Hrvoje Niksic * wget.texi (Portability): Update slightly. diff --git a/doc/wget.texi b/doc/wget.texi index 207e9167..2c3bfba2 100644 --- a/doc/wget.texi +++ b/doc/wget.texi @@ -891,6 +891,16 @@ Wget with @samp{-r http://fly.srk.fer.hr/} will create a structure of directories beginning with @file{fly.srk.fer.hr/}. This option disables such behavior. +@item --protocol-directories +Use the protocol name as a directory component of local file names. For +example, with this option, @samp{wget -r http://@var{host}} will save to +@samp{http/@var{host}/...} rather than just to @samp{@var{host}/...}. + +Disable generation of host-prefixed directories. By default, invoking +Wget with @samp{-r http://fly.srk.fer.hr/} will create a structure of +directories beginning with @file{fly.srk.fer.hr/}. This option disables +such behavior. + @cindex cut directories @item --cut-dirs=@var{number} Ignore @var{number} directory components. This is useful for getting a @@ -2376,6 +2386,10 @@ Use POST as the method for all HTTP requests and send the contents of Set the type of the progress indicator. Legal types are ``dot'' and ``bar''. +@item protocol_directories = on/off +When set, use the protocol name as a directory component of local file +names. The same as @samp{--protocol-directories}. + @item proxy_user = @var{string} Set proxy authentication user name to @var{string}, like @samp{--proxy-user}.