mirror of https://github.com/docker/cli.git
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:
parent
02a24b7805
commit
d2d80636c5
|
@ -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: "
|
||||
|
|
Loading…
Reference in New Issue