completion: Add --silent and -s completion
This commit is contained in:
@@ -88,7 +88,11 @@ _bash-it-comp()
|
|||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
update)
|
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}) )
|
COMPREPLY=( $(compgen -W "${update_args}" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user