diff options
author | Ed Santiago <santiago@redhat.com> | 2019-03-13 10:07:41 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2019-03-13 10:22:10 -0600 |
commit | 360487ab6d6bc7a38caab3a5b3f4c9a632675738 (patch) | |
tree | 674ff9094c202b1770ad7191f078fb8a9645bd52 /cmd/podman/events.go | |
parent | 8b3f759800ebd6e53e0a807728ede633aa9bdb36 (diff) | |
download | podman-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.go | 3 |
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 { |