diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-21 10:34:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 10:34:40 +0100 |
commit | 248dbf6089922903d12553497a2faae27d1b503b (patch) | |
tree | 335c4daf4f583fc1c9c85c9844b7eda5f59fefb4 /cmd/podman/images | |
parent | 447e947aed160de86d1bb3d2f09a3628a25a7511 (diff) | |
parent | 95dad4d8a443682e59c14a94035a111bab3e42fc (diff) | |
download | podman-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/images')
-rw-r--r-- | cmd/podman/images/rm.go | 1 |
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") } |