diff --git a/completion/available/bash-it.completion.bash b/completion/available/bash-it.completion.bash index 87c84a22..c9b4b683 100644 --- a/completion/available/bash-it.completion.bash +++ b/completion/available/bash-it.completion.bash @@ -88,7 +88,11 @@ _bash-it-comp() return 0 ;; update) - local update_args="stable dev" + if [[ ${cur} == -* ]];then + local update_args="-s --silent" + else + local update_args="stable dev" + fi COMPREPLY=( $(compgen -W "${update_args}" -- ${cur}) ) return 0 ;;