Skip to content

Commit 473278f

Browse files
committed
fix(ssh-copy-id): call ssh, not -copy-id for suboption completion check
1 parent d569ea2 commit 473278f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/ssh-copy-id

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _comp_cmd_ssh_copy_id()
55
local cur prev words cword comp_args
66
_comp_initialize -- "$@" || return
77

8-
_comp_xfunc ssh suboption_check "$1" && return
8+
_comp_xfunc ssh suboption_check && return
99

1010
case $prev in
1111
-i)

0 commit comments

Comments
 (0)