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>
This commit is contained in:
Harald Albers 2017-07-03 17:33:03 +02:00
parent 85b41c3e71
commit fc0dafbbd1
1 changed files with 1 additions and 1 deletions

View File

@ -3081,7 +3081,7 @@ _docker_service_update_and_create() {
" "
local boolean_options=" local boolean_options="
--detach -d --detach=false -d=false
--help --help
--no-healthcheck --no-healthcheck
--read-only --read-only