File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1229,7 +1229,7 @@ _comp_variable_assignments()
12291229 case $prev in
12301230 TZ)
12311231 cur=/usr/share/zoneinfo/$cur
1232- _comp_compgen -a filedir
1232+ _comp_compgen_filedir
12331233 if (( ${# COMPREPLY[@]} )) ; then
12341234 for i in " ${! COMPREPLY[@]} " ; do
12351235 if [[ ${COMPREPLY[i]} == * .tab ]]; then
@@ -2050,7 +2050,7 @@ _comp_compgen_allowed_groups()
20502050# @since 2.12
20512051_comp_selinux_users ()
20522052{
2053- _comp_compgen -a split -- " $( semanage user -nl 2> /dev/null |
2053+ _comp_compgen_split -- " $( semanage user -nl 2> /dev/null |
20542054 awk ' { print $1 }' ) "
20552055}
20562056
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ _comp_cmd_cvs()
5656 local cur prev words cword comp_args
5757 _comp_initialize -n : -- " $@ " || return
5858
59- local count mode=" " i cvsroot=" " has_cvsroot=" " cvsroots pwd
59+ local count mode=" " i cvsroot=" " has_cvsroot=" " pwd
6060 local -a flags files entries changed newremoved
6161
6262 local noargopts=' !(-*|*[d]*)'
Original file line number Diff line number Diff line change 22
33_comp_cmd_openssl__compgen_sections ()
44{
5- local config f
5+ local config i f
66
77 # check if a specific configuration file is used
88 for (( i = 2 ; i < cword; i++ )) ; do
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ _comp_cmd_ssh__compgen_queries()
88 key-plain key-sig protocol-version compression sig ciphers macs
99 kexalgorithms pubkeyacceptedkeytypes hostkeyalgorithms
1010 hostbasedkeytypes hostbasedacceptedkeytypes)
11- _comp_compgen -ac " ${cur,,} " -- -W ' "${ret[@]}" help"'
11+ _comp_compgen -c " ${cur,,} " -- -W ' "${ret[@]}" help"'
1212}
1313
1414# @since 2.12
@@ -37,7 +37,7 @@ _comp_cmd_ssh__compgen_ciphers()
3737 [[ ${ret-} ]] || ret=(3des-cbc aes128-cbc aes192-cbc aes256-cbc
3838 aes128-ctr aes192-ctr aes256-ctr arcfour128 arcfour256 arcfour
3939 blowfish-cbc cast128-cbc)
40- _comp_compgen -a - - -W ' "${ret[@]}"'
40+ _comp_compgen -- -W ' "${ret[@]}"'
4141}
4242
4343_comp_cmd_ssh__compgen_macs ()
@@ -46,7 +46,7 @@ _comp_cmd_ssh__compgen_macs()
4646 _comp_compgen -v ret -i ssh query " $1 " mac
4747 [[
${ret-} ]]
|| ret=(hmac-md5 hmac-sha1
[email protected] 4848 hmac-ripemd160 hmac-sha1-96 hmac-md5-96)
49- _comp_compgen -a - - -W ' "${ret[@]}"'
49+ _comp_compgen -- -W ' "${ret[@]}"'
5050}
5151
5252# @since 2.12
You can’t perform that action at this time.
0 commit comments