We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2157f1c commit a0d8c9eCopy full SHA for a0d8c9e
completions/openssl
@@ -32,9 +32,9 @@ _comp_cmd_openssl__compgen_digests()
32
"$1" dgst -h 2>&1 |
33
_comp_awk '/^-.*[ \t]to use the .* message digest algorithm/ { print $1 }'
34
)"
35
- _comp_compgen -ac "${cur#-}" split -P "-" -- "$("$1" help 2>&1 |
+ _comp_compgen_split -- "$("$1" help 2>&1 |
36
command sed -ne '/^Message Digest commands/,/^[[:space:]]*$/p' |
37
- command sed -e 1d)"
+ command sed -e '1d;s/^/-/')"
38
}
39
40
_comp_cmd_openssl()
0 commit comments