summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-07-14 12:01:40 +0000
committerGitHub <noreply@github.com>2022-07-14 12:01:40 +0000
commitd4dc067117931678f0a568998ff34443a12da7e3 (patch)
tree727f55a0173a8ac09e619dbad337025f4c7bcb39 /cmd
parent5c3eec55895c9ca4c36571e1e919f0cb8632bedb (diff)
parentcc2cfe06025c0eec90114efc98e8ab0d00879da5 (diff)
downloadpodman-d4dc067117931678f0a568998ff34443a12da7e3.tar.gz
podman-d4dc067117931678f0a568998ff34443a12da7e3.tar.bz2
podman-d4dc067117931678f0a568998ff34443a12da7e3.zip
Merge pull request #14923 from rhatdan/events
Add podman events -f to be alias for --filter
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/system/events.go2
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"