Browse code

Modify restart function prompt

Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>

zhouhao authored on 2016/08/30 13:07:38
Showing 3 changed files
... ...
@@ -24,7 +24,7 @@ func NewRestartCommand(dockerCli *client.DockerCli) *cobra.Command {
24 24
 
25 25
 	cmd := &cobra.Command{
26 26
 		Use:   "restart [OPTIONS] CONTAINER [CONTAINER...]",
27
-		Short: "Restart a container",
27
+		Short: "Restart one or more containers",
28 28
 		Args:  cli.RequiresMinArgs(1),
29 29
 		RunE: func(cmd *cobra.Command, args []string) error {
30 30
 			opts.containers = args
... ...
@@ -13,7 +13,7 @@ parent = "smn_cli"
13 13
 ```markdown
14 14
 Usage:  docker restart [OPTIONS] CONTAINER [CONTAINER...]
15 15
 
16
-Restart a container
16
+Restart one or more containers
17 17
 
18 18
 Options:
19 19
       --help       Print usage
... ...
@@ -161,7 +161,7 @@ inside it)
161 161
   See **docker-rename(1)** for full documentation on the **rename** command.
162 162
 
163 163
 **restart**
164
-  Restart a container
164
+  Restart one or more containers
165 165
   See **docker-restart(1)** for full documentation on the **restart** command.
166 166
 
167 167
 **rm**