1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

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>
Upstream-commit: cf3ffc516b
Component: cli
This commit is contained in:
Harald Albers
2017-07-03 13:09:43 +02:00
parent 3bd733bca1
commit 167d48d341

View File

@@ -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