mirror of https://github.com/docker/cli.git
Add bash completion for `dockerd --swarm-default-advertise-addr`
This adds bash completion for https://github.com/moby/moby/pull/24237. Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
379b762495
commit
cf3ffc516b
|
@ -2009,6 +2009,7 @@ _docker_daemon() {
|
||||||
--shutdown-timeout
|
--shutdown-timeout
|
||||||
--storage-driver -s
|
--storage-driver -s
|
||||||
--storage-opt
|
--storage-opt
|
||||||
|
--swarm-default-advertise-addr
|
||||||
--userland-proxy-path
|
--userland-proxy-path
|
||||||
--userns-remap
|
--userns-remap
|
||||||
"
|
"
|
||||||
|
@ -2128,6 +2129,10 @@ _docker_daemon() {
|
||||||
_filedir json
|
_filedir json
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
--swarm-default-advertise-addr)
|
||||||
|
__docker_complete_local_interfaces
|
||||||
|
return
|
||||||
|
;;
|
||||||
--userns-remap)
|
--userns-remap)
|
||||||
__docker_complete_user_group
|
__docker_complete_user_group
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue