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 destroy
detach detach
die die
disable
disconnect disconnect
enable
exec_create exec_create
exec_detach exec_detach
exec_start exec_start
export export
health_status health_status
import import
install
kill kill
load load
mount mount
@ -4246,6 +4249,7 @@ _docker_system_events() {
pull pull
push push
reload reload
remove
rename rename
resize resize
restart restart
@ -4271,7 +4275,7 @@ _docker_system_events() {
return return
;; ;;
type) type)
COMPREPLY=( $( compgen -W "container daemon image network volume" -- "${cur##*=}" ) ) COMPREPLY=( $( compgen -W "container daemon image network plugin volume" -- "${cur##*=}" ) )
return return
;; ;;
volume) volume)