Modify restart function prompt
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com> Upstream-commit: cc4ac5bb0b9c34c27a49c77f0fdafb8ca72a807f Component: engine
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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**
|
||||
|
||||
Reference in New Issue
Block a user