diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-13 17:50:30 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-13 17:50:30 +0000 |
| commit | 8746ae9979dc8cccef856300f14f6d98b4285d5a (patch) | |
| tree | 21eb594cb028f825ad5583b0a56666b2e7a076dd /Completion/User/_telnet | |
| parent | zsh-workers/8230 (diff) | |
| download | zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar.gz zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar.bz2 zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar.lz zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar.xz zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar.zst zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.zip | |
zsh-workers/8231
Diffstat (limited to 'Completion/User/_telnet')
| -rw-r--r-- | Completion/User/_telnet | 6 |
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[@]" ;; |
