Add metric plugins to zsh completion for `plugin ls --filter capability`

Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
This commit is contained in:
Jean-Pierre Huynh 2017-07-25 09:24:35 +01:00
parent 7cf9e752d5
commit ff61438328
1 changed files with 1 additions and 1 deletions

View File

@ -1521,7 +1521,7 @@ __docker_plugin_complete_ls_filters() {
if compset -P '*='; then if compset -P '*='; then
case "${${words[-1]%=*}#*=}" in case "${${words[-1]%=*}#*=}" in
(capability) (capability)
opts=('authz' 'ipamdriver' 'networkdriver' 'volumedriver') opts=('authz' 'ipamdriver' 'logdriver' 'metricscollector' 'networkdriver' 'volumedriver')
_describe -t capability-opts "capability options" opts && ret=0 _describe -t capability-opts "capability options" opts && ret=0
;; ;;
(enabled) (enabled)