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:
ning.a.li
2022-01-11 15:56:19 +08:00
committed by ning.a.li
parent 62a4e7020d
commit a303d552ad
5 changed files with 7 additions and 7 deletions

View File

@@ -311,8 +311,8 @@ var checkCommand = cli.Command{
}
var removeCommand = cli.Command{
Name: "remove",
Aliases: []string{"rm"},
Name: "delete",
Aliases: []string{"del", "remove", "rm"},
Usage: "remove one or more images by reference",
ArgsUsage: "[flags] <ref> [<ref>, ...]",
Description: "remove one or more images by reference",