Skip to content

Commit

Permalink
fix(ssh-copy-id): call ssh, not -copy-id for suboption completion check
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed May 22, 2023
1 parent d569ea2 commit 473278f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/ssh-copy-id
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ _comp_cmd_ssh_copy_id()
local cur prev words cword comp_args
_comp_initialize -- "$@" || return

_comp_xfunc ssh suboption_check "$1" && return
_comp_xfunc ssh suboption_check && return

case $prev in
-i)
Expand Down

0 comments on commit 473278f

Please sign in to comment.