mirror of https://github.com/docker/cli.git
Merge pull request #1521 from albers/completion-fix-service--force
Fix bash completion for `service update --force`
This commit is contained in:
commit
f7ea8e831b
|
@ -3395,7 +3395,6 @@ _docker_service_update_and_create() {
|
||||||
local options_with_args="
|
local options_with_args="
|
||||||
--endpoint-mode
|
--endpoint-mode
|
||||||
--entrypoint
|
--entrypoint
|
||||||
--force
|
|
||||||
--health-cmd
|
--health-cmd
|
||||||
--health-interval
|
--health-interval
|
||||||
--health-retries
|
--health-retries
|
||||||
|
@ -3521,6 +3520,10 @@ _docker_service_update_and_create() {
|
||||||
--secret-rm
|
--secret-rm
|
||||||
"
|
"
|
||||||
|
|
||||||
|
boolean_options="$boolean_options
|
||||||
|
--force
|
||||||
|
"
|
||||||
|
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
--env-rm)
|
--env-rm)
|
||||||
COMPREPLY=( $( compgen -e -- "$cur" ) )
|
COMPREPLY=( $( compgen -e -- "$cur" ) )
|
||||||
|
|
Loading…
Reference in New Issue