From e0462e8472af1f0835104651e062b35756901d59 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Tue, 27 Jun 2017 11:52:06 +0200 Subject: [PATCH] Add bash completion for `service create|update --entrypoint` Also fixes a wrong option: `--arg` should be `--args`. Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 79209c2941..acc49675e2 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -3039,6 +3039,7 @@ _docker_service_update() { _docker_service_update_and_create() { local options_with_args=" --endpoint-mode + --entrypoint --env -e --force --health-cmd @@ -3138,7 +3139,7 @@ _docker_service_update_and_create() { fi if [ "$subcommand" = "update" ] ; then options_with_args="$options_with_args - --arg + --args --constraint-add --constraint-rm --container-label-add