Document missing options and fix --preserve-permissions

Added documentation for --regex-type and --preserve-permissions
options.

Fixed --preserve-permissions to work properly also if downloading a
single file from FTP.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza
2013-07-11 17:52:28 +02:00
committed by Giuseppe Scrivano
parent 8760123cee
commit c78caecbb4
4 changed files with 22 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2013-07-11 Tomas Hozza <thozza@redhat.com>
* wget.texi: Document --regex-type and --preserve-permissions.
2013-06-17 Dave Reisner <dreisner@archlinux.org> (tiny change)
* texi2pod.pl: Fix formatting error that causes build to fail with

View File

@@ -1816,6 +1816,10 @@ in some rare firewall configurations, active FTP actually works when
passive FTP doesn't. If you suspect this to be the case, use this
option, or set @code{passive_ftp=off} in your init file.
@cindex file permissions
@item --preserve-permissions
Preserve remote file permissions instead of permissions set by umask.
@cindex symbolic links, retrieving
@item --retr-symlinks
Usually, when retrieving @sc{ftp} directories recursively and a symbolic
@@ -2057,6 +2061,11 @@ it will be treated as a pattern, rather than a suffix.
@itemx --reject-regex @var{urlregex}
Specify a regular expression to accept or reject the complete URL.
@item --regex-type @var{regextype}
Specify the regular expression type. Possible types are @samp{posix} or
@samp{pcre}. Note that to be able to use @samp{pcre} type, wget has to be
compiled with libpcre support.
@item -D @var{domain-list}
@itemx --domains=@var{domain-list}
Set domains to be followed. @var{domain-list} is a comma-separated list