ctr: Unify the delete subcommand alias
This commit unifies the following sub commands alias for deleting/removing. - containers - tasks - contents - leases - images - snapshots Signed-off-by: Ning Li <lining2020x@163.com>
This commit is contained in:
@@ -248,8 +248,8 @@ var usageCommand = cli.Command{
|
||||
}
|
||||
|
||||
var removeCommand = cli.Command{
|
||||
Name: "remove",
|
||||
Aliases: []string{"rm"},
|
||||
Name: "delete",
|
||||
Aliases: []string{"del", "remove", "rm"},
|
||||
ArgsUsage: "<key> [<key>, ...]",
|
||||
Usage: "remove snapshots",
|
||||
Action: func(context *cli.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user