Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Add "remove" as alias for app image rm #662

Merged
merged 1 commit into from
Oct 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions internal/commands/image/rm.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ import (

func rmCmd() *cobra.Command {
return &cobra.Command{
Use: "rm [APP_IMAGE] [APP_IMAGE...]",
Short: "Remove an application image",
Args: cli.RequiresMinArgs(1),
Short: "Remove an application image",
Use: "rm [APP_IMAGE] [APP_IMAGE...]",
Aliases: []string{"remove"},
Args: cli.RequiresMinArgs(1),
Example: `$ docker app image rm myapp
$ docker app image rm myapp:1.0.0
$ docker app image rm docker.io/library/myapp@sha256:beef...`,
Expand Down