Modify rename function usage
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
This commit is contained in:
parent
13094ffef9
commit
61c8b3380f
3 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ func NewRenameCommand(dockerCli *client.DockerCli) *cobra.Command {
|
|||
var opts renameOptions
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "rename OLD_NAME NEW_NAME",
|
||||
Use: "rename CONTAINER NEW_NAME",
|
||||
Short: "Rename a container",
|
||||
Args: cli.ExactArgs(2),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
|
|
|
@ -11,7 +11,7 @@ parent = "smn_cli"
|
|||
# rename
|
||||
|
||||
```markdown
|
||||
Usage: docker rename OLD_NAME NEW_NAME
|
||||
Usage: docker rename CONTAINER NEW_NAME
|
||||
|
||||
Rename a container
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ docker-rename - Rename a container
|
|||
|
||||
# SYNOPSIS
|
||||
**docker rename**
|
||||
OLD_NAME NEW_NAME
|
||||
CONTAINER NEW_NAME
|
||||
|
||||
# OPTIONS
|
||||
There are no available options.
|
||||
|
|
Loading…
Reference in a new issue