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:
Jonathon Anderson
2024-01-24 15:09:19 -07:00
parent 45542827dd
commit eded560cbc

View File

@@ -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,