completion: Add --silent and -s completion
parent
3f2c6e79ee
commit
2fd1cd66e4
|
|
@ -88,7 +88,11 @@ _bash-it-comp()
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
update)
|
update)
|
||||||
|
if [[ ${cur} == -* ]];then
|
||||||
|
local update_args="-s --silent"
|
||||||
|
else
|
||||||
local update_args="stable dev"
|
local update_args="stable dev"
|
||||||
|
fi
|
||||||
COMPREPLY=( $(compgen -W "${update_args}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${update_args}" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue