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
parent dcbd5e04b7
commit 2134d38935
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