Merge pull request #26269 from yuexiao-wang/remove-option
Remove the option for the command service rm
This commit is contained in:
commit
20607e2cc2
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ import (
|
||||||
func newRemoveCommand(dockerCli *client.DockerCli) *cobra.Command {
|
func newRemoveCommand(dockerCli *client.DockerCli) *cobra.Command {
|
||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "rm [OPTIONS] SERVICE [SERVICE...]",
|
Use: "rm SERVICE [SERVICE...]",
|
||||||
Aliases: []string{"remove"},
|
Aliases: []string{"remove"},
|
||||||
Short: "Remove one or more services",
|
Short: "Remove one or more services",
|
||||||
Args: cli.RequiresMinArgs(1),
|
Args: cli.RequiresMinArgs(1),
|
||||||
|
|
|
@ -11,7 +11,7 @@ parent = "smn_cli"
|
||||||
# service rm
|
# service rm
|
||||||
|
|
||||||
```Markdown
|
```Markdown
|
||||||
Usage: docker service rm [OPTIONS] SERVICE [SERVICE...]
|
Usage: docker service rm SERVICE [SERVICE...]
|
||||||
|
|
||||||
Remove one or more services
|
Remove one or more services
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue