summaryrefslogtreecommitdiff
path: root/cmd/podman/pod.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.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.go')
-rw-r--r--cmd/podman/pod.go25
1 files changed, 12 insertions, 13 deletions
diff --git a/cmd/podman/pod.go b/cmd/podman/pod.go
index 277b16932..65bc9efda 100644
--- a/cmd/podman/pod.go
+++ b/cmd/podman/pod.go
@@ -5,25 +5,24 @@ import (
)
var (
- podDescription = `
- podman pod
+ podDescription = `Manage container pods.
- Manage container pods.
- Pods are a group of one or more containers sharing the same network, pid and ipc namespaces.
+Pods are a group of one or more containers sharing the same network, pid and ipc namespaces.
`
+ podSubCommands = []cli.Command{
+ podCreateCommand,
+ podKillCommand,
+ podPsCommand,
+ podRestartCommand,
+ podRmCommand,
+ podStartCommand,
+ podStopCommand,
+ }
podCommand = cli.Command{
Name: "pod",
Usage: "Manage pods",
Description: podDescription,
UseShortOptionHandling: true,
- Subcommands: []cli.Command{
- podCreateCommand,
- podKillCommand,
- podPsCommand,
- podRestartCommand,
- podRmCommand,
- podStartCommand,
- podStopCommand,
- },
+ Subcommands: podSubCommands,
}
)