Merge pull request #581 from docker/remove_delete_alias

Remove delete alias, no reason to add this (does not exist in Moby)
This commit is contained in:
Guillaume Tardif 2020-09-04 15:47:27 +02:00 committed by GitHub
commit f24f02bbbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,6 @@ func RmCommand() *cobra.Command {
var opts rmOpts var opts rmOpts
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "rm", Use: "rm",
Aliases: []string{"delete"},
Short: "Remove containers", Short: "Remove containers",
Args: cobra.MinimumNArgs(1), Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {