summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_wget
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-06-21 13:28:24 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-06-21 13:28:24 +0200
commitafd008d96bee0993ebbca697f93917b0897207bd (patch)
tree3956ca61a7affbdfe26ccd61e43cb66e5f8f623e /Completion/Unix/Command/_wget
parent394f3a47e464b67b17e2cb7166df066829250e88 (diff)
downloadzsh-afd008d96bee0993ebbca697f93917b0897207bd.tar.gz
zsh-afd008d96bee0993ebbca697f93917b0897207bd.zip
43073: various completion option updates
Diffstat (limited to 'Completion/Unix/Command/_wget')
-rw-r--r--Completion/Unix/Command/_wget11
1 files changed, 6 insertions, 5 deletions
diff --git a/Completion/Unix/Command/_wget b/Completion/Unix/Command/_wget
index 1a7e2d0a3..2a4e722d8 100644
--- a/Completion/Unix/Command/_wget
+++ b/Completion/Unix/Command/_wget
@@ -22,6 +22,7 @@ _arguments -C -s \
'(--config)--no-config' '--rejected-log=:file:_files' \
'(--tries -t)'{--tries=,-t+}'[set number of retries]:number of retries' \
'--retry-connrefused[retry even if connection is refused]' \
+ '--retry-on-http-error=[specify list of HTTP errors to retry]:http error' \
'(--output-document -O)'{--output-document=,-O+}'[specify file to write documents to]:output file:_files' \
'(--continue -c)'{--continue,-c}'[continue getting an existing file]' \
'--start-pos=:offset' '--show-progress' \
@@ -38,8 +39,7 @@ _arguments -C -s \
'(--wait -w)'{--wait=,-w+}'[specify wait between retrievals]:time (seconds)' \
'(--random-wait)--waitretry=:time (seconds)' \
'(--waitretry)--random-wait[random wait time between retrievals]' \
- '(--proxy -Y --no-proxy)'{--proxy=,-Y+}'[explicitly turn on proxy]' \
- '(--proxy -Y --no-proxy)--no-proxy[explicitly turn off proxy]' \
+ '--no-proxy[explicitly turn off proxy]' \
'(--quota -Q)'{--quota=,-Q+}'[set retrieval quota]:number' \
'--bind-address=[specify address to bind to (hostname or IP)]:bind address:_bind_addresses' \
'--limit-rate=[specify limit to download rate]:download rate limit' \
@@ -48,7 +48,7 @@ _arguments -C -s \
'--ignore-case[ignore case when matching files/directories]' \
'(-4 --inet4-only -6 --inet6-only)'{-4,--inet4-only}'[connect only to IPv4 addresses]' \
'(-4 --inet4-only -6 --inet6-only)'{-6,--inet6-only}'[connect only to IPv6 addresses]' \
- '--prefer-family[connect first to addresses of specified family]:address family:(IPv6 IPv4 none)' \
+ '--prefer-family=[connect first to addresses of specified family]:address family:(IPv6 IPv4 none)' \
'(--http-user --ftp-user)--user[set both ftp and http user]:user' \
'(--http-password --ftp-password)--password[set both ftp and http password]:password' \
'(--password --http-password --ftp-password)--ask-password:[prompt for passwords]' \
@@ -67,7 +67,7 @@ _arguments -C -s \
'(--user)--http-user=:user' \
'(--password --ask-password)--http-password=:password' \
'--no-cache[disallow server-cached data]' \
- '--default-page=[specify default page name, normally index.html]' \
+ '--default-page=[specify default page name, normally index.html]:default page [index.html]' \
'(--adjust-extension -E)'{--adjust-extension,-E}'[save all HTML/CSS documents with proper extensions]' \
"--ignore-length[ignore \`Content-Length' header field]" \
'*--header=[send a custom HTTP header]:header:->header' \
@@ -93,7 +93,7 @@ _arguments -C -s \
"--auth-no-challenge[send basic HTTP authentication without first waiting for server's challenge]" \
'--secure-protocol=[choose secure protocol]:protocol:(SSLv2 SSLv3 TLSv1 TLSv1_1 TLSv1_2 PFS)' \
--https-only \
- "--no-check-certificate=[don't check the server certificate]" \
+ "--no-check-certificate[don't check the server certificate]" \
'--certificate=[specify client certificate]:client certificate file:_files' \
'--certificate-type=[specify client certificate type]:certificate type:(PEM DER)' \
'--private-key=[specify private key file]:key file:_files' \
@@ -104,6 +104,7 @@ _arguments -C -s \
'--pinnedpubkey=:file:_files' \
'--random-file[specify file with random data for seeding generator]:file:_files' \
'--egd-file=[specify filename of EGD socket]:file:_files' \
+ '--ciphers=[set the priority string (GnuTLS) or cipher list string (OpenSSL) directly]:string' \
'--no-hsts[disable HSTS]' \
'--hsts-file[specify path of HSTS database]:file:_files' \
'(--user)--ftp-user=:user' \