Skip to content

Commit

Permalink
Add metric plugins to bash completion for `plugin ls --filter capabil…
Browse files Browse the repository at this point in the history
…ity`

This adds bash completion for moby/moby#32874.

Signed-off-by: Harald Albers <github@albersweb.de>
  • Loading branch information
albers committed Jul 3, 2017
1 parent 379b762 commit 2caf425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -3762,7 +3762,7 @@ _docker_plugin_ls() {
local key=$(__docker_map_key_of_current_option '--filter|-f')
case "$key" in
capability)
COMPREPLY=( $( compgen -W "authz ipamdriver networkdriver volumedriver" -- "${cur##*=}" ) )
COMPREPLY=( $( compgen -W "authz ipamdriver logdriver metricscollector networkdriver volumedriver" -- "${cur##*=}" ) )
return
;;
enabled)
Expand Down

0 comments on commit 2caf425

Please sign in to comment.