mirror of https://github.com/docker/cli.git
Merge pull request #247 from albers/completion-service--entrypoint
Add bash completion for `service create|update --entrypoint`
This commit is contained in:
commit
1c4d070cf5
|
@ -3039,6 +3039,7 @@ _docker_service_update() {
|
||||||
_docker_service_update_and_create() {
|
_docker_service_update_and_create() {
|
||||||
local options_with_args="
|
local options_with_args="
|
||||||
--endpoint-mode
|
--endpoint-mode
|
||||||
|
--entrypoint
|
||||||
--env -e
|
--env -e
|
||||||
--force
|
--force
|
||||||
--health-cmd
|
--health-cmd
|
||||||
|
@ -3138,7 +3139,7 @@ _docker_service_update_and_create() {
|
||||||
fi
|
fi
|
||||||
if [ "$subcommand" = "update" ] ; then
|
if [ "$subcommand" = "update" ] ; then
|
||||||
options_with_args="$options_with_args
|
options_with_args="$options_with_args
|
||||||
--arg
|
--args
|
||||||
--constraint-add
|
--constraint-add
|
||||||
--constraint-rm
|
--constraint-rm
|
||||||
--container-label-add
|
--container-label-add
|
||||||
|
|
Loading…
Reference in New Issue