Skip to content

Commit

Permalink
Update bash and zsh completion for service create/update --read-only
Browse files Browse the repository at this point in the history
This commit updates bash and zsh completion for flag `--read-only`
in `service create/update`.

Signed-off-by: Yong Tang <[email protected]>
  • Loading branch information
yongtang authored and Tibor Vass committed Jun 2, 2017
1 parent 8235af9 commit 2fade89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -2851,6 +2851,7 @@ _docker_service_update() {

local boolean_options="
--help
--read-only
--tty -t
--with-registry-auth
"
Expand Down
1 change: 1 addition & 0 deletions contrib/completion/zsh/_docker
Original file line number Diff line number Diff line change
Expand Up @@ -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: "
Expand Down

0 comments on commit 2fade89

Please sign in to comment.