From 894c3a5cbf30eaa91b60f03c0f7a0d58f0c618de Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Tue, 6 Sep 2016 13:41:53 -0700 Subject: [PATCH] Add completion for `docker events -f event=health_status` Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 1 + contrib/completion/zsh/_docker | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index cceb6663ea..024c00a354 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -1103,6 +1103,7 @@ _docker_events() { exec_detach exec_start export + health_status import kill load diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index 3bed1d82fd..2bcd1aa509 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -434,7 +434,7 @@ __docker_complete_events_filter() { (event) local -a event_opts 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') _describe -t event-filter-opts "event filter options" event_opts && ret=0 ;;