mirror of
https://github.com/docker/compose.git
synced 2025-05-02 21:50:15 +02:00
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:
commit
f24f02bbbb
@ -38,10 +38,9 @@ type rmOpts struct {
|
|||||||
func RmCommand() *cobra.Command {
|
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 {
|
||||||
return runRm(cmd.Context(), args, opts)
|
return runRm(cmd.Context(), args, opts)
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user