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 <github@albersweb.de>
(cherry picked from commit fc0dafbbd1)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Harald Albers
2017-07-25 02:52:40 +02:00
committed by Sebastiaan van Stijn
parent caf6943211
commit 7fd4d9d5aa
@@ -3237,7 +3237,7 @@ _docker_service_update_and_create() {
"
local boolean_options="
--detach -d
--detach=false -d=false
--help
--no-healthcheck
--read-only