mirror of https://github.com/docker/cli.git
Merge pull request #372 from jphuynh/completion-zsh-event-filter
Update event filter zsh completion with `disable`, `enable`, `install…
This commit is contained in:
commit
c6a7046674
|
@ -450,9 +450,9 @@ __docker_complete_events_filter() {
|
||||||
;;
|
;;
|
||||||
(event)
|
(event)
|
||||||
local -a event_opts
|
local -a event_opts
|
||||||
event_opts=('attach' 'commit' 'connect' 'copy' 'create' 'delete' 'destroy' 'detach' 'die' 'disconnect' 'exec_create' 'exec_detach'
|
event_opts=('attach' 'commit' 'connect' 'copy' 'create' 'delete' 'destroy' 'detach' 'die' 'disable' 'disconnect' 'enable' 'exec_create' 'exec_detach'
|
||||||
'exec_start' 'export' 'health_status' 'import' 'kill' 'load' 'mount' 'oom' 'pause' 'pull' 'push' 'reload' 'rename' 'resize' 'restart' 'save' 'start'
|
'exec_start' 'export' 'health_status' 'import' 'install' 'kill' 'load' 'mount' 'oom' 'pause' 'pull' 'push' 'reload' 'remove' 'rename' 'resize'
|
||||||
'stop' 'tag' 'top' 'unmount' 'unpause' 'untag' 'update')
|
'restart' 'save' 'start' 'stop' 'tag' 'top' 'unmount' 'unpause' 'untag' 'update')
|
||||||
_describe -t event-filter-opts "event filter options" event_opts && ret=0
|
_describe -t event-filter-opts "event filter options" event_opts && ret=0
|
||||||
;;
|
;;
|
||||||
(image)
|
(image)
|
||||||
|
|
Loading…
Reference in New Issue