File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,16 @@ func NewRmCommand(dockerCli command.Cli) *cobra.Command {
2727 var opts rmOptions
2828
2929 cmd := & cobra.Command {
30- Use : "rm [OPTIONS] CONTAINER [CONTAINER...]" ,
31- Short : "Remove one or more containers" ,
32- Args : cli .RequiresMinArgs (1 ),
30+ Use : "rm [OPTIONS] CONTAINER [CONTAINER...]" ,
31+ Aliases : []string {"remove" },
32+ Short : "Remove one or more containers" ,
33+ Args : cli .RequiresMinArgs (1 ),
3334 RunE : func (cmd * cobra.Command , args []string ) error {
3435 opts .containers = args
3536 return runRm (dockerCli , & opts )
3637 },
3738 Annotations : map [string ]string {
38- "aliases" : "docker container rm, docker rm" ,
39+ "aliases" : "docker container rm, docker container remove, docker rm" ,
3940 },
4041 ValidArgsFunction : completion .ContainerNames (dockerCli , true ),
4142 }
You can’t perform that action at this time.
0 commit comments