add replicated in service scale command description

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2016-11-02 15:53:18 +08:00
parent 3a5d54290d
commit 39e34ed1a3
1 changed files with 1 additions and 1 deletions

View File

@ -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)