From 472a721bdd5007fe4b68a982ac5f979bec40a3d1 Mon Sep 17 00:00:00 2001 From: Kunal Kushwaha Date: Tue, 12 Nov 2019 13:50:35 +0900 Subject: 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 --- cmd/podman/cliconfig/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/podman/cliconfig') 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 { -- cgit v1.2.3-54-g00ecf