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

@@ -148,7 +148,7 @@ var deleteCommand = cli.Command{
Name: "delete",
Usage: "delete one or more existing containers",
ArgsUsage: "[flags] CONTAINER [CONTAINER, ...]",
Aliases: []string{"del", "rm"},
Aliases: []string{"del", "remove", "rm"},
Flags: []cli.Flag{
cli.BoolFlag{
Name: "keep-snapshot",