diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-07-13 10:53:50 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-07-26 13:15:45 -0400 |
commit | a4bae330a5bc76219598ffb25db7331705ff1cdd (patch) | |
tree | 0770259fbcfccedd27b655920b7fef8dec032b65 /cmd/podman/system | |
parent | d560c789766f9c446c4d222fc5a0e92d86e207e1 (diff) | |
download | podman-a4bae330a5bc76219598ffb25db7331705ff1cdd.tar.gz podman-a4bae330a5bc76219598ffb25db7331705ff1cdd.tar.bz2 podman-a4bae330a5bc76219598ffb25db7331705ff1cdd.zip |
Add podman events -f to be alias for --filter
Needed for Docker compatibility.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/system')
-rw-r--r-- | cmd/podman/system/events.go | 2 |
1 files changed, 1 insertions, 1 deletions
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" |