summaryrefslogtreecommitdiff
path: root/cmd/podman/pod.go
diff options
context:
space:
mode:
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,
}
)