From 3d9d13e918c195f974ff7b2f1dc5b65f6b20a441 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 22 Nov 1999 12:29:47 +0000 Subject: zsh-workers/8720 --- Completion/User/_socket | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Completion/User/_socket') diff --git a/Completion/User/_socket b/Completion/User/_socket index b155e7ad4..45374a403 100644 --- a/Completion/User/_socket +++ b/Completion/User/_socket @@ -1,9 +1,9 @@ #compdef socket -# Parameter used: +# Style used: # -# socket_hosts_ports -# The array that contains paris `host:port'. +# hosts-ports +# The style that contains pairs `host:port'. local curcontext="$curcontext" state line expl typeset -A opt_args @@ -41,14 +41,14 @@ arg1) _wanted ports expl 'port to listen' && _ports "$expl[@]" else _wanted hosts expl 'host' && - _combination socket_hosts_ports hosts "$expl[@]" + _combination '' hosts-ports hosts "$expl[@]" fi ;; arg2) if (( ! $+opt_args[-s] )); then _wanted ports expl 'port to connect' && - _combination socket_hosts_ports hosts="${line[2]:q}" ports "$expl[@]" + _combination '' hosts-ports hosts="${line[2]:q}" ports "$expl[@]" fi ;; esac -- cgit v1.3.1