Use "mv" as the alias for "rename"
The `mv` command is typically used to rename files in a Linux environment, so keep that convention here for container rename. Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
var baseCmd = &cobra.Command{
|
||||
DisableFlagsInUseLine: true,
|
||||
Use: "rename CONTAINER NEW_NAME",
|
||||
Aliases: []string{"rn"},
|
||||
Aliases: []string{"mv"},
|
||||
Short: "Rename an existing container",
|
||||
Long: "This command will rename an existing container.",
|
||||
RunE: CobraRunE,
|
||||
|
||||
Reference in New Issue
Block a user