File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 11# fio(1) completion -*- shell-script -*-
22
3- _comp_cmd_fio__engines ()
3+ _comp_cmd_fio__compgen_engines ()
44{
5- local IFS=$' \n '
6- REPLY=($( " $1 " --enghelp 2> /dev/null | command sed -ne ' /^[[:space:]]/p' ) )
7- return $(( ! ${# REPLY[*]} ))
5+ _comp_compgen_split -l -- " $( " $1 " --enghelp 2> /dev/null | command sed -ne ' /^[[:space:]]/p' ) )"
86}
97
108_comp_cmd_fio ()
@@ -40,8 +38,7 @@ _comp_cmd_fio()
4038 return
4139 ;;
4240 --enghelp)
43- _comp_cmd_fio__engines " $1 " &&
44- _comp_compgen -- -W ' "${REPLY[@]}"'
41+ _comp_cmd_fio__compgen_engines " $1 "
4542 return
4643 ;;
4744 --eta)
@@ -81,8 +78,7 @@ _comp_cmd_fio()
8178 return
8279 ;;
8380 --ioengine)
84- _comp_cmd_fio__engines " $1 " &&
85- _comp_compgen -- -W ' "${REPLY[@]}"'
81+ _comp_cmd_fio__compgen_engines " $1 "
8682 return
8783 ;;
8884 --exec_postrun | --exec_prerun)
You can’t perform that action at this time.
0 commit comments