summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_rm.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-07-26 16:10:46 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-27 02:17:29 +0000
commitf9152d075a3175ad62f77b3166c3cb0df2c310f2 (patch)
treeb097946e3ff4f53138eba68e8983f453e8298213 /cmd/podman/pod_rm.go
parentc1424095983992f56ffa50e79c0139cef8893f6d (diff)
downloadpodman-f9152d075a3175ad62f77b3166c3cb0df2c310f2.tar.gz
podman-f9152d075a3175ad62f77b3166c3cb0df2c310f2.tar.bz2
podman-f9152d075a3175ad62f77b3166c3cb0df2c310f2.zip
Cleanup descriptions and help information
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #1167 Approved by: baude
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,