From a4bae330a5bc76219598ffb25db7331705ff1cdd Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 13 Jul 2022 10:53:50 -0400 Subject: Add podman events -f to be alias for --filter Needed for Docker compatibility. Signed-off-by: Daniel J Walsh --- cmd/podman/system/events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman') diff --git a/cmd/podman/system/events.go b/cmd/podman/system/events.go index 09e589d3c..b04668f86 100644 --- a/cmd/podman/system/events.go +++ b/cmd/podman/system/events.go @@ -46,7 +46,7 @@ func init() { flags := eventsCommand.Flags() filterFlagName := "filter" - flags.StringArrayVar(&eventOptions.Filter, filterFlagName, []string{}, "filter output") + flags.StringArrayVarP(&eventOptions.Filter, filterFlagName, "f", []string{}, "filter output") _ = eventsCommand.RegisterFlagCompletionFunc(filterFlagName, common.AutocompleteEventFilter) formatFlagName := "format" -- cgit v1.2.3-54-g00ecf