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
|
||||
--storage-driver -s
|
||||
--storage-opt
|
||||
--swarm-default-advertise-addr
|
||||
--userland-proxy-path
|
||||
--userns-remap
|
||||
"
|
||||
|
@ -2128,6 +2129,10 @@ _docker_daemon() {
|
|||
_filedir json
|
||||
return
|
||||
;;
|
||||
--swarm-default-advertise-addr)
|
||||
__docker_complete_local_interfaces
|
||||
return
|
||||
;;
|
||||
--userns-remap)
|
||||
__docker_complete_user_group
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue