Add bash completion for service create|update --entrypoint
Also fixes a wrong option: `--arg` should be `--args`.
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit e0462e8472)
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
This commit is contained in:
committed by
Andrew Hsu
parent
8f5b746fdd
commit
224f23149e
@ -3039,6 +3039,7 @@ _docker_service_update() {
|
||||
_docker_service_update_and_create() {
|
||||
local options_with_args="
|
||||
--endpoint-mode
|
||||
--entrypoint
|
||||
--env -e
|
||||
--force
|
||||
--health-cmd
|
||||
@ -3138,7 +3139,7 @@ _docker_service_update_and_create() {
|
||||
fi
|
||||
if [ "$subcommand" = "update" ] ; then
|
||||
options_with_args="$options_with_args
|
||||
--arg
|
||||
--args
|
||||
--constraint-add
|
||||
--constraint-rm
|
||||
--container-label-add
|
||||
|
||||
Reference in New Issue
Block a user