From 13c138ec2a896a87da8fa81693975e7ffbec85fd Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Tue, 26 Jul 2016 04:45:57 -0700 Subject: [PATCH] bash completion for container labels to `service {create,update}` Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 4c064df7be..a33438bac1 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -1741,6 +1741,7 @@ _docker_service_update() { if [ "$subcommand" = "create" ] ; then options_with_args="$options_with_args + --container-label --mode " @@ -1754,6 +1755,8 @@ _docker_service_update() { if [ "$subcommand" = "update" ] ; then options_with_args="$options_with_args --arg + --container-label-add + --container-label-rm --image "