Compute plugin list in bash completion for `docker daemon --authz-plugin`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-01-02 14:53:10 -08:00 committed by Tibor Vass
parent 6bfda2dbbc
commit 9a63a5cdd6
1 changed files with 4 additions and 0 deletions

View File

@ -706,6 +706,10 @@ _docker_daemon() {
"
case "$prev" in
--authz-plugin)
__docker_complete_plugins Authorization
return
;;
--cluster-store)
COMPREPLY=( $( compgen -W "consul etcd zk" -S "://" -- "$cur" ) )
__docker_nospace