瀏覽代碼

Modify restart function prompt

Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
zhouhao 8 年之前
父節點
當前提交
cc4ac5bb0b
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      api/client/container/restart.go
  2. 1 1
      docs/reference/commandline/restart.md
  3. 1 1
      man/docker.1.md

+ 1 - 1
api/client/container/restart.go

@@ -24,7 +24,7 @@ func NewRestartCommand(dockerCli *client.DockerCli) *cobra.Command {
 
 	cmd := &cobra.Command{
 		Use:   "restart [OPTIONS] CONTAINER [CONTAINER...]",
-		Short: "Restart a container",
+		Short: "Restart one or more containers",
 		Args:  cli.RequiresMinArgs(1),
 		RunE: func(cmd *cobra.Command, args []string) error {
 			opts.containers = args

+ 1 - 1
docs/reference/commandline/restart.md

@@ -13,7 +13,7 @@ parent = "smn_cli"
 ```markdown
 Usage:  docker restart [OPTIONS] CONTAINER [CONTAINER...]
 
-Restart a container
+Restart one or more containers
 
 Options:
       --help       Print usage

+ 1 - 1
man/docker.1.md

@@ -161,7 +161,7 @@ inside it)
   See **docker-rename(1)** for full documentation on the **rename** command.
 
 **restart**
-  Restart a container
+  Restart one or more containers
   See **docker-restart(1)** for full documentation on the **restart** command.
 
 **rm**