Modify restart function prompt

Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
Upstream-commit: cc4ac5bb0b9c34c27a49c77f0fdafb8ca72a807f
Component: engine
This commit is contained in:
zhouhao
2016-08-30 12:07:38 +08:00
parent acf7387ad5
commit 08c7fa5a23
3 changed files with 3 additions and 3 deletions
@@ -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
@@ -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
View File
@@ -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**