diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-23 19:38:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-23 19:38:59 +0100 |
commit | e772ef0f92a27f2d013e3526f5a0b13927c0700c (patch) | |
tree | 51b405683904a8b6bd880ad035206346bd0fa980 /cmd/podman/images/list.go | |
parent | 4b9b3783c796333a9f0bb56f8a173941adf499d2 (diff) | |
parent | 818162155a092506403d5a27ad1eb3717de37078 (diff) | |
download | podman-e772ef0f92a27f2d013e3526f5a0b13927c0700c.tar.gz podman-e772ef0f92a27f2d013e3526f5a0b13927c0700c.tar.bz2 podman-e772ef0f92a27f2d013e3526f5a0b13927c0700c.zip |
Merge pull request #8416 from Luap99/shell-completion
more shell completion improvements
Diffstat (limited to 'cmd/podman/images/list.go')
-rw-r--r-- | cmd/podman/images/list.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podman/images/list.go b/cmd/podman/images/list.go index 4692699f2..bcb31e6ee 100644 --- a/cmd/podman/images/list.go +++ b/cmd/podman/images/list.go @@ -79,8 +79,7 @@ func imageListFlagSet(cmd *cobra.Command) { filterFlagName := "filter" flags.StringSliceVarP(&listOptions.Filter, filterFlagName, "f", []string{}, "Filter output based on conditions provided (default [])") - // TODO: add completion function for filters - _ = cmd.RegisterFlagCompletionFunc(filterFlagName, completion.AutocompleteNone) + _ = cmd.RegisterFlagCompletionFunc(filterFlagName, common.AutocompleteImageFilters) formatFlagName := "format" flags.StringVar(&listFlag.format, formatFlagName, "", "Change the output format to JSON or a Go template") |