Merge pull request #26224 from q384566678/test-zhou
Modify rename function use tips Upstream-commit: 061cc417591217c4bcf735267c2de18f2a8189c0 Component: engine
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user