Remove the option for the command service rm

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
yuexiao-wang 2016-09-02 17:23:59 +08:00
parent 9d71cba5f0
commit 1016cbb642
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import (
func newRemoveCommand(dockerCli *client.DockerCli) *cobra.Command {
cmd := &cobra.Command{
Use: "rm [OPTIONS] SERVICE [SERVICE...]",
Use: "rm SERVICE [SERVICE...]",
Aliases: []string{"remove"},
Short: "Remove one or more services",
Args: cli.RequiresMinArgs(1),

View File

@ -11,7 +11,7 @@ parent = "smn_cli"
# service rm
```Markdown
Usage: docker service rm [OPTIONS] SERVICE [SERVICE...]
Usage: docker service rm SERVICE [SERVICE...]
Remove one or more services