mirror of https://github.com/docker/cli.git
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:
parent
7cf9e752d5
commit
ff61438328
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue