From 2fade897b98f58a56b9be90408cf9050be097194 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Mon, 30 Jan 2017 13:21:25 -0800 Subject: [PATCH] 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 --- contrib/completion/bash/docker | 1 + contrib/completion/zsh/_docker | 1 + 2 files changed, 2 insertions(+) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 08eb8c6cb3..4bfeb88990 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -2851,6 +2851,7 @@ _docker_service_update() { local boolean_options=" --help + --read-only --tty -t --with-registry-auth " diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index a76414c921..22e3a319cf 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -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: "