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:
Harald Albers 2017-07-03 13:09:43 +02:00
parent 379b762495
commit cf3ffc516b
1 changed files with 5 additions and 0 deletions

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