mirror of https://github.com/docker/cli.git
Add metric plugins to bash completion for `plugin ls --filter capability`
This adds bash completion for https://github.com/moby/moby/pull/32874. Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
379b762495
commit
2caf425f02
|
@ -3762,7 +3762,7 @@ _docker_plugin_ls() {
|
||||||
local key=$(__docker_map_key_of_current_option '--filter|-f')
|
local key=$(__docker_map_key_of_current_option '--filter|-f')
|
||||||
case "$key" in
|
case "$key" in
|
||||||
capability)
|
capability)
|
||||||
COMPREPLY=( $( compgen -W "authz ipamdriver networkdriver volumedriver" -- "${cur##*=}" ) )
|
COMPREPLY=( $( compgen -W "authz ipamdriver logdriver metricscollector networkdriver volumedriver" -- "${cur##*=}" ) )
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
enabled)
|
enabled)
|
||||||
|
|
Loading…
Reference in New Issue