diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-07-13 10:53:50 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-07-13 10:55:27 -0400 |
commit | cc2cfe06025c0eec90114efc98e8ab0d00879da5 (patch) | |
tree | 879dafba05a25f59f98589be3d24ee09ddc96288 /cmd/podman/system | |
parent | 4df6122aaa3bc858e9488d366a2c9c91b6671170 (diff) | |
download | podman-cc2cfe06025c0eec90114efc98e8ab0d00879da5.tar.gz podman-cc2cfe06025c0eec90114efc98e8ab0d00879da5.tar.bz2 podman-cc2cfe06025c0eec90114efc98e8ab0d00879da5.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" |