From 360487ab6d6bc7a38caab3a5b3f4c9a632675738 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Wed, 13 Mar 2019 10:07:41 -0600 Subject: 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 --- cmd/podman/events.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/podman/events.go') 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 { -- cgit v1.2.3-54-g00ecf