about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-10-03 16:24:51 +0000
committerClint Adams <clint@users.sourceforge.net>2006-10-03 16:24:51 +0000
commit55739ab8ae62fc9d7de2942ed9e4b37be1dcdf9d (patch)
tree8067943c2dfcca945bd3257f5d7843cb6b4ce62d /Completion
parent39a2fe325bdae1da860cdb39a7b349c37ed4f3df (diff)
downloadzsh-55739ab8ae62fc9d7de2942ed9e4b37be1dcdf9d.tar.gz
zsh-55739ab8ae62fc9d7de2942ed9e4b37be1dcdf9d.tar.xz
zsh-55739ab8ae62fc9d7de2942ed9e4b37be1dcdf9d.zip
22812: utilize _bind_addresses in existing completion functions.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_bittorrent4
-rw-r--r--Completion/Unix/Command/_rsync2
-rw-r--r--Completion/Unix/Command/_ssh2
-rw-r--r--Completion/Unix/Command/_wget2
4 files changed, 5 insertions, 5 deletions
diff --git a/Completion/Unix/Command/_bittorrent b/Completion/Unix/Command/_bittorrent
index b3a37f7c6..8c31a11ae 100644
--- a/Completion/Unix/Command/_bittorrent
+++ b/Completion/Unix/Command/_bittorrent
@@ -24,7 +24,7 @@ case $service in
       '(--responsefile)--responsefile+[specify file for server response]:file:_files -g "*"'\
       "--url+[specify URL of torrent file]:URL:_urls"\
       '(-i --ip)'{-i+,--ip+}'[specify ip address to report as]:ip address'\
-      "--bind+[specify ip to bind to instead of default]:ip:"\
+      "--bind+[specify ip to bind to instead of default]:ip:_bind_addresses"\
       "--minport+[specify minimum port to listen to]:port:"\
       "--maxport+[specify maximum port to listen to]:port:"\
       "--saveas+[specify file to save to]:file:_files -/"\
@@ -83,7 +83,7 @@ case $service in
     _arguments -s -S \
       "--port+[specify port to listen on]:port number:" \
       "--dfile+[specify file to store recent downloader info]:file:_files" \
-      "--bind+[specify ip to bind to]:bind address:" \
+      "--bind+[specify ip to bind to]:bind address:_bind_addresses" \
       "--socket_timeout+[specify timeout for closing connections]:timeout (s):"\
       "--save_dfile_interval+[specify interval between saving dfile]:time (s):"\
       "--timeout_downloaders_interval+[timeout for expiring downloaders]:time (s):" \
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
index 25d715550..51b5ef982 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -94,7 +94,7 @@ _arguments -s \
   {--no-v,--no-verbose}'[turn off --verbose]' \
   '--bwlimit=[limit I/O bandwidth]:KBytes per second' \
   '--port=[specify alternate port number]:port:(873)' \
-  '--address=[bind to the specified address]:address:_hosts' \
+  '--address=[bind to the specified address]:bind address:_bind_addresses' \
   '(-T --temp-dir)'{-T,--temp-dir=}'[create temporary files in specified directory]:directory:_directories' \
   '--sockopts=[specify custom TCP options]' \
   '(-4 -6 --ipv4 --ipv6)'{-4,--ipv4}'[prefer IPv4]' \
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index 9182f3ced..f241c82c9 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -54,7 +54,7 @@ _ssh () {
     _arguments -C -s \
       '(-A)-a[disable forwarding of authentication agent connection]' \
       '(-a)-A[enables forwarding of the authentication agent connection]' \
-      '(-P)-b+[specify interface to transmit on]:bind address' \
+      '(-P)-b+[specify interface to transmit on]:bind address:_bind_addresses' \
       '-D+[specify a dynamic port forwarding]:port' \
       '-e+[set escape character]:escape character (or `none'"'"'):' \
       '(-n)-f[go to background]' \
diff --git a/Completion/Unix/Command/_wget b/Completion/Unix/Command/_wget
index 3adc632da..67c2326e2 100644
--- a/Completion/Unix/Command/_wget
+++ b/Completion/Unix/Command/_wget
@@ -35,7 +35,7 @@ _arguments -C -s \
   '(--proxy -Y --no-proxy)'{--proxy=,-Y+}'[explicitly turn on proxy]' \
   '(--proxy -Y --no-proxy)--no-proxy[explicitly turn off proxy]' \
   '(--quota -Q)'{--quota=,-Q+}'[set retrieval quota]:number' \
-  '--bind-address=:address to bind to (hostname or IP):_hosts' \
+  '--bind-address=[specify address to bind to (hostname or IP)]:bind address:_bind_addresses' \
   '--limit-rate=[specify limit to download rate]:download rate limit' \
   '--no-dns-cache[disable caching DNS lookups]' \
   '--restrict-file-names=[restrict chars in file names to ones OS allows]:OS:->restrict' \