Add bash completion for plugin events

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers
2017-06-27 15:37:14 +02:00
parent 2eac0bb7b7
commit f0f7150537
+5 -1
View File
@@ -4230,13 +4230,16 @@ _docker_system_events() {
destroy
detach
die
disable
disconnect
enable
exec_create
exec_detach
exec_start
export
health_status
import
install
kill
load
mount
@@ -4245,6 +4248,7 @@ _docker_system_events() {
pull
push
reload
remove
rename
resize
restart
@@ -4270,7 +4274,7 @@ _docker_system_events() {
return
;;
type)
COMPREPLY=( $( compgen -W "container daemon image network volume" -- "${cur##*=}" ) )
COMPREPLY=( $( compgen -W "container daemon image network plugin volume" -- "${cur##*=}" ) )
return
;;
volume)