summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-21 10:34:40 +0100
committerGitHub <noreply@github.com>2022-03-21 10:34:40 +0100
commit248dbf6089922903d12553497a2faae27d1b503b (patch)
tree335c4daf4f583fc1c9c85c9844b7eda5f59fefb4 /cmd/podman
parent447e947aed160de86d1bb3d2f09a3628a25a7511 (diff)
parent95dad4d8a443682e59c14a94035a111bab3e42fc (diff)
downloadpodman-248dbf6089922903d12553497a2faae27d1b503b.tar.gz
podman-248dbf6089922903d12553497a2faae27d1b503b.tar.bz2
podman-248dbf6089922903d12553497a2faae27d1b503b.zip
Merge pull request #13541 from vrothberg/rmi-ignore
podman rmi --ignore
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/images/rm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/images/rm.go b/cmd/podman/images/rm.go
index dd138d410..13dab62d4 100644
--- a/cmd/podman/images/rm.go
+++ b/cmd/podman/images/rm.go
@@ -56,6 +56,7 @@ func init() {
func imageRemoveFlagSet(flags *pflag.FlagSet) {
flags.BoolVarP(&imageOpts.All, "all", "a", false, "Remove all images")
+ flags.BoolVarP(&imageOpts.Ignore, "ignore", "i", false, "Ignore errors if a specified image does not exist")
flags.BoolVarP(&imageOpts.Force, "force", "f", false, "Force Removal of the image")
}