mirror of https://github.com/docker/cli.git
Update bash and zsh completion for `service create/update --read-only`
This commit updates bash and zsh completion for flag `--read-only` in `service create/update`. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
8235af9772
commit
2fade897b9
|
@ -2851,6 +2851,7 @@ _docker_service_update() {
|
|||
|
||||
local boolean_options="
|
||||
--help
|
||||
--read-only
|
||||
--tty -t
|
||||
--with-registry-auth
|
||||
"
|
||||
|
|
|
@ -1795,6 +1795,7 @@ __docker_service_subcommand() {
|
|||
"($help)*--network=[Network attachments]:network: "
|
||||
"($help)--no-healthcheck[Disable any container-specified HEALTHCHECK]"
|
||||
"($help)*"{-p=,--publish=}"[Publish a port as a node port]:port: "
|
||||
"($help)--read-only[Mount the container's root filesystem as read only]"
|
||||
"($help)--replicas=[Number of tasks]:replicas: "
|
||||
"($help)--reserve-cpu=[Reserve CPUs]:value: "
|
||||
"($help)--reserve-memory=[Reserve Memory]:value: "
|
||||
|
|
Loading…
Reference in New Issue