]> sjero.net Git - wget/blobdiff - doc/wget.texi
[svn] Merging fix #20499: MAX_REDIRECTIONS should be configurable.
[wget] / doc / wget.texi
index bd4c39164daa6681d7f8671db4eeccb97feff3f2..fcc5cd603467c4ef44c01669c626e50ea7c1ea31 100644 (file)
@@ -1239,6 +1239,13 @@ wget --header="Host: foo.bar" http://localhost/
 In versions of Wget prior to 1.10 such use of @samp{--header} caused
 sending of duplicate headers.
 
+@cindex redirect
+@item --max-redirect=@var{number}
+Specifies the maximum number of redirections to follow for a resource.
+The default is 20, which is usually far more than necessary. However, on
+those occasions where you want to allow more (or fewer), this is the
+option to use.
+
 @cindex proxy user
 @cindex proxy password
 @cindex proxy authentication