diff options
author | Kunal Kushwaha <kunal.kushwaha@gmail.com> | 2019-11-12 13:50:35 +0900 |
---|---|---|
committer | Kunal Kushwaha <kunal.kushwaha@gmail.com> | 2019-11-12 14:13:49 +0900 |
commit | 472a721bdd5007fe4b68a982ac5f979bec40a3d1 (patch) | |
tree | 34925f90cde03e3a7d025c4c39f5634e32f9d69d /cmd/podman/cliconfig/config.go | |
parent | b713e5371fa8767067bd2c329a3744ea593b2ade (diff) | |
download | podman-472a721bdd5007fe4b68a982ac5f979bec40a3d1.tar.gz podman-472a721bdd5007fe4b68a982ac5f979bec40a3d1.tar.bz2 podman-472a721bdd5007fe4b68a982ac5f979bec40a3d1.zip |
warning added before image prune command
Warning message added before executing image prune
Added a force option, to execute without user input.
Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
Diffstat (limited to 'cmd/podman/cliconfig/config.go')
-rw-r--r-- | cmd/podman/cliconfig/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/cliconfig/config.go b/cmd/podman/cliconfig/config.go index 780b68333..ff38064f7 100644 --- a/cmd/podman/cliconfig/config.go +++ b/cmd/podman/cliconfig/config.go @@ -175,7 +175,8 @@ type HistoryValues struct { } type PruneImagesValues struct { PodmanCommand - All bool + All bool + Force bool } type PruneContainersValues struct { |