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:
Yong Tang 2017-01-30 13:21:25 -08:00 committed by Tibor Vass
parent 8235af9772
commit 2fade897b9
2 changed files with 2 additions and 0 deletions

View File

@ -2851,6 +2851,7 @@ _docker_service_update() {
local boolean_options="
--help
--read-only
--tty -t
--with-registry-auth
"

View File

@ -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: "