Add bash completion for DNS settings in services

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-11-13 11:17:18 -08:00 committed by Tibor Vass
parent fc7c7b1358
commit 5e47e48ff8
1 changed files with 9 additions and 0 deletions

View File

@ -2648,6 +2648,9 @@ _docker_service_update() {
if [ "$subcommand" = "create" ] ; then if [ "$subcommand" = "create" ] ; then
options_with_args="$options_with_args options_with_args="$options_with_args
--container-label --container-label
--dns
--dns-option
--dns-search
--env-file --env-file
--group --group
--hostname --hostname
@ -2675,6 +2678,12 @@ _docker_service_update() {
--arg --arg
--container-label-add --container-label-add
--container-label-rm --container-label-rm
--dns-add
--dns-options-add
--dns-options-rm
--dns-rm
--dns-search-add
--dns-search-rm
--group-add --group-add
--group-rm --group-rm
--image --image