summaryrefslogtreecommitdiff
path: root/cmd/podmanV2/system/events.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podmanV2/system/events.go')
-rw-r--r--cmd/podmanV2/system/events.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/cmd/podmanV2/system/events.go b/cmd/podmanV2/system/events.go
index 9fd27e2c1..95e6a5576 100644
--- a/cmd/podmanV2/system/events.go
+++ b/cmd/podmanV2/system/events.go
@@ -17,12 +17,11 @@ import (
var (
eventsDescription = "Monitor podman events"
eventsCommand = &cobra.Command{
- Use: "events",
- Args: cobra.NoArgs,
- Short: "Show podman events",
- Long: eventsDescription,
- PersistentPreRunE: preRunE,
- RunE: eventsCmd,
+ Use: "events",
+ Args: cobra.NoArgs,
+ Short: "Show podman events",
+ Long: eventsDescription,
+ RunE: eventsCmd,
Example: `podman events
podman events --filter event=create
podman events --since 1h30s`,