summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-03-13 10:07:41 -0600
committerEd Santiago <santiago@redhat.com>2019-03-13 10:22:10 -0600
commit360487ab6d6bc7a38caab3a5b3f4c9a632675738 (patch)
tree674ff9094c202b1770ad7191f078fb8a9645bd52
parent8b3f759800ebd6e53e0a807728ede633aa9bdb36 (diff)
downloadpodman-360487ab6d6bc7a38caab3a5b3f4c9a632675738.tar.gz
podman-360487ab6d6bc7a38caab3a5b3f4c9a632675738.tar.bz2
podman-360487ab6d6bc7a38caab3a5b3f4c9a632675738.zip
Add 'podman events' to podman(1)
Also: enforce noSubArgs for podman events Also: remove unnecessary '[flags]' from Use message (Cobra adds it automatically) Signed-off-by: Ed Santiago <santiago@redhat.com>
-rw-r--r--cmd/podman/events.go3
-rw-r--r--docs/podman.1.md1
2 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/events.go b/cmd/podman/events.go
index dda9a03f9..f6c20e8ff 100644
--- a/cmd/podman/events.go
+++ b/cmd/podman/events.go
@@ -11,7 +11,8 @@ var (
eventsCommand cliconfig.EventValues
eventsDescription = "Monitor podman events"
_eventsCommand = &cobra.Command{
- Use: "events [flags]",
+ Use: "events",
+ Args: noSubArgs,
Short: "show podman events",
Long: eventsDescription,
RunE: func(cmd *cobra.Command, args []string) error {
diff --git a/docs/podman.1.md b/docs/podman.1.md
index 0182690d0..c4dc168c7 100644
--- a/docs/podman.1.md
+++ b/docs/podman.1.md
@@ -137,6 +137,7 @@ the exit codes follow the `chroot` standard, see below:
| [podman-cp(1)](podman-cp.1.md) | Copy files/folders between a container and the local filesystem. |
| [podman-create(1)](podman-create.1.md) | Create a new container. |
| [podman-diff(1)](podman-diff.1.md) | Inspect changes on a container or image's filesystem. |
+| [podman-events(1)](podman-events.1.md) | Monitor Podman events |
| [podman-exec(1)](podman-exec.1.md) | Execute a command in a running container. |
| [podman-export(1)](podman-export.1.md) | Export a container's filesystem contents as a tar archive. |
| [podman-generate(1)](podman-generate.1.md)| Generate structured data based for a containers and pods. |