From fc0dafbbd11130ac24f8905f697b71e99f32d4e6 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Mon, 3 Jul 2017 17:33:03 +0200 Subject: [PATCH] Improve bash completion for `service create|update --detach` bash completion usually completes boolean options that default to `true` with the `=false` suffix because that is the only syntax that really changes behavior. For this option, I implemented completion falsely. Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 33ada275b1..d689935b35 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -3081,7 +3081,7 @@ _docker_service_update_and_create() { " local boolean_options=" - --detach -d + --detach=false -d=false --help --no-healthcheck --read-only