diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-08-05 14:48:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 14:48:18 +0000 |
commit | 66c246d2c13edb893368fef4ba3a9770c00f8f3b (patch) | |
tree | f879331b8c4e8312e9a422b9a111aaa240b5db9a /cmd/podman | |
parent | ff144e085e0e0b90b9bed4ce78cce014bcc672c2 (diff) | |
parent | cc8e4d5fec571d6bd69d3d2f8189e945b621ba7b (diff) | |
download | podman-66c246d2c13edb893368fef4ba3a9770c00f8f3b.tar.gz podman-66c246d2c13edb893368fef4ba3a9770c00f8f3b.tar.bz2 podman-66c246d2c13edb893368fef4ba3a9770c00f8f3b.zip |
Merge pull request #15093 from karthikelango137/rmiNoPrune1
remove image podman no prune
Diffstat (limited to 'cmd/podman')
-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 d3fd17440..4e4b001ad 100644 --- a/cmd/podman/images/rm.go +++ b/cmd/podman/images/rm.go @@ -61,6 +61,7 @@ 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") + flags.BoolVar(&imageOpts.NoPrune, "no-prune", false, "Do not remove dangling images") } func rm(cmd *cobra.Command, args []string) error { |