aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/pod_rm.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pod_rm.go')
-rw-r--r--cmd/podman/pod_rm.go16
1 files changed, 9 insertions, 7 deletions
diff --git a/cmd/podman/pod_rm.go b/cmd/podman/pod_rm.go
index 8b4c09cfe..362e23368 100644
--- a/cmd/podman/pod_rm.go
+++ b/cmd/podman/pod_rm.go
@@ -20,14 +20,16 @@ var (
Name: "force, f",
Usage: "Force removal of a running pod by first stopping all containers, then removing all containers in the pod. The default is false",
},
- LatestFlag,
+ LatestPodFlag,
}
- podRmDescription = "Remove one or more pods"
- podRmCommand = cli.Command{
- Name: "rm",
- Usage: fmt.Sprintf(`podman rm will remove one or more pods from the host. The pod name or ID can be used.
- A pod with containers will not be removed without --force.
- If --force is specified, all containers will be stopped, then removed.`),
+ podRmDescription = fmt.Sprintf(`
+podman rm will remove one or more pods from the host. The pod name or ID can
+be used. A pod with containers will not be removed without --force.
+If --force is specified, all containers will be stopped, then removed.
+`)
+ podRmCommand = cli.Command{
+ Name: "rm",
+ Usage: "Remove one or more pods",
Description: podRmDescription,
Flags: podRmFlags,
Action: podRmCmd,