]> sjero.net Git - wget/blobdiff - doc/wget.texi
[svn] Added Nicolas Schodet.
[wget] / doc / wget.texi
index 207e9167ae1789181147c49e43dc77bd634455d9..c1dd2db283bb1d9e37dd4964635daf1f6dfbbea4 100644 (file)
@@ -517,8 +517,7 @@ which are not retried.
 The documents will not be written to the appropriate files, but all will
 be concatenated together and written to @var{file}.  If @var{file}
 already exists, it will be overwritten.  If the @var{file} is @samp{-},
-the documents will be written to standard output.  Including this option
-automatically sets the number of tries to 1.
+the documents will be written to standard output.
 
 @cindex clobbering, file
 @cindex downloading multiple times
@@ -891,6 +890,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 +2385,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}.
 
@@ -3299,6 +3312,7 @@ Maciej W. Rozycki,
 Edward J. Sabol,
 Heinz Salzmann,
 Robert Schmidt,
+Nicolas Schodet,
 Andreas Schwab,
 Chris Seawood,
 Toomas Soome,