about summary refs log tree commit diff
path: root/Completion/User/_telnet
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-13 17:50:30 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-13 17:50:30 +0000
commit8746ae9979dc8cccef856300f14f6d98b4285d5a (patch)
tree21eb594cb028f825ad5583b0a56666b2e7a076dd /Completion/User/_telnet
parentad92f962259d359e561d1c0f657f6a731739b3e1 (diff)
downloadzsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar.gz
zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar.xz
zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.zip
zsh-workers/8231
Diffstat (limited to 'Completion/User/_telnet')
-rw-r--r--Completion/User/_telnet6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_telnet b/Completion/User/_telnet
index 2895cc2af..b1c628d11 100644
--- a/Completion/User/_telnet
+++ b/Completion/User/_telnet
@@ -6,7 +6,7 @@
 #    The array that contains 3-tuples `host:port:user'.
 
 local state line expl
-typeset -A options
+typeset -A opt_args
 
 if (( ! $+_telnet_short )); then
   local k help="$(telnet -\? < /dev/null 2>&1)"
@@ -69,14 +69,14 @@ case "$state" in
 hosts)
   _description expl 'host'
   _combination telnet_hosts_ports_users \
-    ${options[-l]:+users=${options[-l]:q}} \
+    ${opt_args[-l]:+users=${opt_args[-l]:q}} \
     hosts "$expl[@]"
   ;;
 
 ports)
   _description expl 'port'
   _combination telnet_hosts_ports_users \
-    ${options[-l]:+users=${options[-l]:q}} \
+    ${opt_args[-l]:+users=${opt_args[-l]:q}} \
     hosts="${line[2]:q}" \
     ports "$expl[@]"
   ;;