diff --git a/completions/sysbench b/completions/sysbench index a6a45a71e72..7f9e87e0041 100644 --- a/completions/sysbench +++ b/completions/sysbench @@ -104,7 +104,7 @@ _comp_cmd_sysbench() local i test="" has_test="" for ((i = 1; i < ${#words[@]} - 1; i++)); do # TODO --test= is deprecated, bare test name preferred - if [[ ${words[i]} == --test* ]]; then + if [[ ${words[i]} == --test=* ]]; then test=${words[i]#*=} has_test=set break