We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b0f8c commit 39ea543Copy full SHA for 39ea543
completions/ssh-keyscan
@@ -3,7 +3,7 @@
3
_comp_cmd_ssh_keyscan()
4
{
5
local cur prev words cword comp_args
6
- _comp_initialize -- "$@" || return
+ _comp_initialize -n = -- "$@" || return
7
8
local ipvx
9
@@ -18,6 +18,20 @@ _comp_cmd_ssh_keyscan()
18
_comp_compgen_filedir
19
return
20
;;
21
+ -*O)
22
+ case $cur in
23
+ hashalg=*)
24
+ cur=${cur#*=}
25
+ _comp_compgen -- -W 'sha1 sha256'
26
+ ;;
27
+ *=*) ;;
28
+ *)
29
+ _comp_compgen -- -W 'hashalg='
30
+ compopt -o nospace
31
32
+ esac
33
+ return
34
35
-*p | -*T)
36
37
0 commit comments