File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,12 @@ _bash-it-comp()
8787 COMPREPLY=( $( compgen -W " ${doctor_args} " -- ${cur} ) )
8888 return 0
8989 ;;
90- migrate | reload | search | update | version)
90+ update)
91+ local update_args=" stable dev"
92+ COMPREPLY=( $( compgen -W " ${update_args} " -- ${cur} ) )
93+ return 0
94+ ;;
95+ migrate | reload | search | version)
9196 return 0
9297 ;;
9398 enable | disable)
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ function __check_completion () {
5858 assert_line -n 0 " vagrant vault vim"
5959}
6060
61- @test " completion bash-it: update - show no options" {
61+ @test " completion bash-it: update - show options" {
6262 run __check_completion ' bash-it update '
63- assert_line -n 0 " "
63+ assert_line -n 0 " stable dev "
6464}
6565
6666@test " completion bash-it: search - show no options" {
You can’t perform that action at this time.
0 commit comments