mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
bash completion for docker daemon --cluster-*
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3fce5e1084
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
cda415abcc
commit
c6d4699aa4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user