bash completion for `docker daemon --cluster-*`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2015-09-28 11:23:23 +02:00 committed by Tibor Vass
parent 2f288fe894
commit 3fce5e1084
1 changed files with 7 additions and 0 deletions

View File

@ -534,6 +534,8 @@ _docker_daemon() {
--api-cors-header
--bip
--bridge -b
--cluster-advertise
--cluster-store
--default-gateway
--default-gateway-v6
--default-ulimit
@ -560,6 +562,11 @@ _docker_daemon() {
"
case "$prev" in
--cluster-store)
COMPREPLY=( $( compgen -W "consul etcd zk" -S "://" -- "$cur" ) )
__docker_nospace
return
;;
--exec-root|--graph|-g)
_filedir -d
return