mirror of https://github.com/docker/cli.git
bash completion for `docker daemon --cluster-*`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
2f288fe894
commit
3fce5e1084
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue