ソースを参照

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

Signed-off-by: Guillaume Tardif <[email protected]>
Guillaume Tardif 5 年 前
コミット
1a41d0a90b
1 ファイル変更3 行追加4 行削除
  1. 3 4
      cli/cmd/rm.go

+ 3 - 4
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)
 		},