aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/events.go
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 /cmd/podman/events.go
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>
Diffstat (limited to 'cmd/podman/events.go')
-rw-r--r--cmd/podman/events.go3
1 files changed, 2 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 {