about summary refs log tree commit diff
path: root/Completion/User/_socket
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_socket')
-rw-r--r--Completion/User/_socket2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_socket b/Completion/User/_socket
index 45374a403..7a7c7dccc 100644
--- a/Completion/User/_socket
+++ b/Completion/User/_socket
@@ -48,7 +48,7 @@ arg1)
 arg2)
   if (( ! $+opt_args[-s] )); then
     _wanted ports expl 'port to connect' &&
-        _combination '' hosts-ports hosts="${line[2]:q}" ports "$expl[@]"
+        _combination '' hosts-ports hosts="${line[1]:q}" ports "$expl[@]"
   fi
   ;;
 esac