From 61eda671eca96b6fa32369572d9b49850895d37b Mon Sep 17 00:00:00 2001
From: Daniel J Walsh <dwalsh@redhat.com>
Date: Thu, 13 Sep 2018 08:36:49 -0400
Subject: Add `podman rm --volumes` flag

While this is not implemented yet, it is needed for working with existing
docker scripts.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #1460
Approved by: mheon
---
 cmd/podman/rm.go | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

(limited to 'cmd/podman')

diff --git a/cmd/podman/rm.go b/cmd/podman/rm.go
index eb9f1b170..caf7a5f36 100644
--- a/cmd/podman/rm.go
+++ b/cmd/podman/rm.go
@@ -12,15 +12,19 @@ import (
 
 var (
 	rmFlags = []cli.Flag{
+		cli.BoolFlag{
+			Name:  "all, a",
+			Usage: "Remove all containers",
+		},
 		cli.BoolFlag{
 			Name:  "force, f",
 			Usage: "Force removal of a running container.  The default is false",
 		},
+		LatestFlag,
 		cli.BoolFlag{
-			Name:  "all, a",
-			Usage: "Remove all containers",
+			Name:  "volumes, v",
+			Usage: "Remove the volumes associated with the container (Not implemented yet)",
 		},
-		LatestFlag,
 	}
 	rmDescription = fmt.Sprintf(`
 Podman rm will remove one or more containers from the host.
-- 
cgit v1.2.3-54-g00ecf