mirror of https://github.com/docker/cli.git
Merge pull request #352 from albers/fix-completion--credential-spec
Improve bash completion for `--credential-spec`
This commit is contained in:
commit
16804b7313
|
@ -3294,7 +3294,6 @@ _docker_service_update() {
|
||||||
# and `docker service update`
|
# and `docker service update`
|
||||||
_docker_service_update_and_create() {
|
_docker_service_update_and_create() {
|
||||||
local options_with_args="
|
local options_with_args="
|
||||||
--credential-spec
|
|
||||||
--endpoint-mode
|
--endpoint-mode
|
||||||
--entrypoint
|
--entrypoint
|
||||||
--env -e
|
--env -e
|
||||||
|
@ -3335,6 +3334,9 @@ _docker_service_update_and_create() {
|
||||||
--user -u
|
--user -u
|
||||||
--workdir -w
|
--workdir -w
|
||||||
"
|
"
|
||||||
|
__docker_daemon_os_is windows && options_with_args+="
|
||||||
|
--credential-spec
|
||||||
|
"
|
||||||
|
|
||||||
local boolean_options="
|
local boolean_options="
|
||||||
--detach=false -d=false
|
--detach=false -d=false
|
||||||
|
|
Loading…
Reference in New Issue