Merge pull request #251 from albers/completion-plugin-events

Add bash completion for plugin events
This commit is contained in:
Sebastiaan van Stijn 2017-06-30 01:02:53 -07:00 committed by GitHub
commit d1ccfcaf2a
1 changed files with 5 additions and 1 deletions

View File

@ -4231,13 +4231,16 @@ _docker_system_events() {
destroy
detach
die
disable
disconnect
enable
exec_create
exec_detach
exec_start
export
health_status
import
install
kill
load
mount
@ -4246,6 +4249,7 @@ _docker_system_events() {
pull
push
reload
remove
rename
resize
restart
@ -4271,7 +4275,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)