Skip to content

Commit

Permalink
Merge pull request #1521 from albers/completion-fix-service--force
Browse files Browse the repository at this point in the history
Fix bash completion for `service update --force`
  • Loading branch information
thaJeztah authored Nov 15, 2018
2 parents 29625f6 + 5fa5eb1 commit f7ea8e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -3395,7 +3395,6 @@ _docker_service_update_and_create() {
local options_with_args="
--endpoint-mode
--entrypoint
--force
--health-cmd
--health-interval
--health-retries
Expand Down Expand Up @@ -3521,6 +3520,10 @@ _docker_service_update_and_create() {
--secret-rm
"

boolean_options="$boolean_options
--force
"

case "$prev" in
--env-rm)
COMPREPLY=( $( compgen -e -- "$cur" ) )
Expand Down

0 comments on commit f7ea8e8

Please sign in to comment.