mirror of https://github.com/docker/cli.git
make `docker service --help` text for `--endpoint-mode` more consistent
Previously: ``` --constraint value Placement constraints (default []) --endpoint-mode string Endpoint mode(Valid values: vip, dnsrr) <snip> --restart-condition string Restart when condition is met (none, on_failure, or any) ``` Now: ``` --constraint value Placement constraints (default []) --endpoint-mode string Endpoint mode (vip or dnsrr) <snip> --restart-condition string Restart when condition is met (none, on_failure, or any) ``` Signed-off-by: Anil Madhavapeddy <anil@docker.com>
This commit is contained in:
parent
cab7139a4b
commit
20859b146b
|
@ -18,7 +18,7 @@ Create a new service
|
|||
|
||||
Options:
|
||||
--constraint value Placement constraints (default [])
|
||||
--endpoint-mode string Endpoint mode(Valid values: VIP, DNSRR)
|
||||
--endpoint-mode string Endpoint mode (vip or dnsrr)
|
||||
-e, --env value Set environment variables (default [])
|
||||
--help Print usage
|
||||
-l, --label value Service labels (default [])
|
||||
|
|
|
@ -20,7 +20,7 @@ Options:
|
|||
--arg value Service command args (default [])
|
||||
--command value Service command (default [])
|
||||
--constraint value Placement constraints (default [])
|
||||
--endpoint-mode string Endpoint mode(Valid values: VIP, DNSRR)
|
||||
--endpoint-mode string Endpoint mode (vip or dnsrr)
|
||||
-e, --env value Set environment variables (default [])
|
||||
--help Print usage
|
||||
--image string Service image tag
|
||||
|
|
Loading…
Reference in New Issue