diff options
Diffstat (limited to 'Completion/User')
-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 fd7edd569..9df23b87c 100644 --- a/Completion/User/_telnet +++ b/Completion/User/_telnet @@ -47,14 +47,14 @@ _arguments -C -s \ case "$state" in hosts) _wanted hosts expl host && - _combination '' hosts-ports-users \ + _combination -s '[@:]' '' users-hosts-ports \ ${opt_args[-l]:+users=${opt_args[-l]:q}} \ hosts "$expl[@]" ;; ports) _wanted ports expl port && - _combination '' hosts-ports-users \ + _combination -s '[@:]' '' users-hosts-ports \ ${opt_args[-l]:+users=${opt_args[-l]:q}} \ hosts="${line[1]:q}" \ ports "$expl[@]" @@ -62,7 +62,7 @@ ports) users) _wanted users expl user && - _combination '' hosts-ports-users \ + _combination -s '[@:]' '' users-hosts-ports \ ${line[2]:+hosts="${line[2]:q}"} \ ${line[3]:+ports="${line[3]:q}"} \ users "$expl[@]" |