Follow up on changes in 190c64b415

While in review, `--cap-{add,drop}` where added in another place of the
zsh completion. This commit makes the two places consistent.

Signed-off-by: Paul Seyfert <pseyfert.mathphys@gmail.com>
This commit is contained in:
Paul Seyfert 2021-03-05 09:41:17 +01:00
parent 02a24b7805
commit d2d80636c5
1 changed files with 2 additions and 2 deletions

View File

@ -2023,8 +2023,8 @@ __docker_service_subcommand() {
opts_help=("(: -)--help[Print usage]")
opts_create_update=(
"($help)*--cap-add=[Add Linux capabilities]:capability: "
"($help)*--cap-drop=[Drop Linux capabilities]:capability: "
"($help)*--cap-add=[Add Linux capabilities]:capability: __docker_run_all_capabilities"
"($help)*--cap-drop=[Drop Linux capabilities]:capability: __docker_run_all_capabilities"
"($help)*--constraint=[Placement constraints]:constraint: "
"($help)--endpoint-mode=[Placement constraints]:mode:(dnsrr vip)"
"($help)*"{-e=,--env=}"[Set environment variables]:env: "