mirror of https://github.com/docker/cli.git
Add completion for `docker events -f event=health_status`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
6d8cf3fb44
commit
894c3a5cbf
|
@ -1103,6 +1103,7 @@ _docker_events() {
|
||||||
exec_detach
|
exec_detach
|
||||||
exec_start
|
exec_start
|
||||||
export
|
export
|
||||||
|
health_status
|
||||||
import
|
import
|
||||||
kill
|
kill
|
||||||
load
|
load
|
||||||
|
|
|
@ -434,7 +434,7 @@ __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' 'disconnect' 'exec_create' 'exec_detach'
|
||||||
'exec_start' 'export' 'import' 'kill' 'load' 'mount' 'oom' 'pause' 'pull' 'push' 'reload' 'rename' 'resize' 'restart' 'save' 'start'
|
'exec_start' 'export' 'health_status' 'import' 'kill' 'load' 'mount' 'oom' 'pause' 'pull' 'push' 'reload' 'rename' 'resize' 'restart' 'save' 'start'
|
||||||
'stop' 'tag' 'top' 'unmount' 'unpause' 'untag' 'update')
|
'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
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue