Skip to content

Commit 8a0a71e

Browse files
committed
fix(ssh-keygen): first arg to ssh query for protocol versions
1 parent d55f5e6 commit 8a0a71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/ssh-keygen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ _comp_cmd_ssh_keygen()
9999
return
100100
;;
101101
-*t)
102-
local protocols=$(_comp_xfunc ssh query "$1" protocol-version)
102+
local protocols=$(_comp_xfunc ssh query "" protocol-version)
103103
local types='dsa ecdsa ecdsa-sk ed25519 ed25519-sk rsa'
104104
if [[ $protocols == *1* ]]; then
105105
types+=' rsa1'

0 commit comments

Comments
 (0)