mirror of https://github.com/docker/cli.git
add replicated in service scale command description
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
3a5d54290d
commit
39e34ed1a3
|
@ -16,7 +16,7 @@ import (
|
||||||
func newScaleCommand(dockerCli *command.DockerCli) *cobra.Command {
|
func newScaleCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
return &cobra.Command{
|
return &cobra.Command{
|
||||||
Use: "scale SERVICE=REPLICAS [SERVICE=REPLICAS...]",
|
Use: "scale SERVICE=REPLICAS [SERVICE=REPLICAS...]",
|
||||||
Short: "Scale one or multiple services",
|
Short: "Scale one or multiple replicated services",
|
||||||
Args: scaleArgs,
|
Args: scaleArgs,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return runScale(dockerCli, args)
|
return runScale(dockerCli, args)
|
||||||
|
|
Loading…
Reference in New Issue