Merge pull request #379 from jphuynh/completion-zsh-plugin-ls-filter

Add metric plugins to zsh completion for `plugin ls --filter capability`
This commit is contained in:
Sebastiaan van Stijn 2017-07-25 20:02:26 +02:00 committed by GitHub
commit 915b18bdc9
1 changed files with 1 additions and 1 deletions

View File

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