]> sjero.net Git - wget/commitdiff
[svn] Document the new option --protocol-directories.
authorhniksic <devnull@localhost>
Sat, 6 Dec 2003 03:07:10 +0000 (19:07 -0800)
committerhniksic <devnull@localhost>
Sat, 6 Dec 2003 03:07:10 +0000 (19:07 -0800)
doc/ChangeLog
doc/wget.texi

index 61b25649d2a9fc2000a28d788ab3d573722d9312..38e595327327ed9b17c51e487c1b5aad467ee4fc 100644 (file)
@@ -1,3 +1,7 @@
+2003-12-06  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * wget.texi: Document the new option `--protocol-directories'.
+
 2003-11-15  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * wget.texi (Portability): Update slightly.
index 207e9167ae1789181147c49e43dc77bd634455d9..2c3bfba26a6e28f7d822219a5dd3e722e1ee8680 100644 (file)
@@ -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}.