Skip to content

Commit f7ea8e8

Browse files
authored
Merge pull request #1521 from albers/completion-fix-service--force
Fix bash completion for `service update --force`
2 parents 29625f6 + 5fa5eb1 commit f7ea8e8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

contrib/completion/bash/docker

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3395,7 +3395,6 @@ _docker_service_update_and_create() {
33953395
local options_with_args="
33963396
--endpoint-mode
33973397
--entrypoint
3398-
--force
33993398
--health-cmd
34003399
--health-interval
34013400
--health-retries
@@ -3521,6 +3520,10 @@ _docker_service_update_and_create() {
35213520
--secret-rm
35223521
"
35233522

3523+
boolean_options="$boolean_options
3524+
--force
3525+
"
3526+
35243527
case "$prev" in
35253528
--env-rm)
35263529
COMPREPLY=( $( compgen -e -- "$cur" ) )

0 commit comments

Comments
 (0)