From 1a41d0a90bf5c6b201b499ad1c6aa8b3f7b439a7 Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Fri, 4 Sep 2020 13:12:54 +0200 Subject: [PATCH] Remove delete alias, no reason to add this (does not exist in Moby) Signed-off-by: Guillaume Tardif --- cli/cmd/rm.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cli/cmd/rm.go b/cli/cmd/rm.go index 2ebfeeff5..f53bf6c58 100644 --- a/cli/cmd/rm.go +++ b/cli/cmd/rm.go @@ -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) },