Remove delete alias, no reason to add this (does not exist in Moby)

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
Guillaume Tardif 2020-09-04 13:12:54 +02:00
parent cbb416976a
commit 1a41d0a90b
1 changed files with 3 additions and 4 deletions

View File

@ -38,10 +38,9 @@ type rmOpts struct {
func RmCommand() *cobra.Command {
var opts rmOpts
cmd := &cobra.Command{
Use: "rm",
Aliases: []string{"delete"},
Short: "Remove containers",
Args: cobra.MinimumNArgs(1),
Use: "rm",
Short: "Remove containers",
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
return runRm(cmd.Context(), args, opts)
},