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
499a0dd43e
commit
885e1f250a
2 changed files with 2 additions and 0 deletions
|
@ -2829,6 +2829,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…
Add table
Reference in a new issue