diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-11-19 21:11:29 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2020-11-23 13:18:34 +0100 |
commit | 2e8ed5edf720f2ec7ed641ae92ee368d0ffe9cf2 (patch) | |
tree | be17143b6e0b28827699d23ce9404828c76ad0df /cmd/podman/volumes | |
parent | 79ab19ab8bbc069c06e47e45dd51e34a35d6a35f (diff) | |
download | podman-2e8ed5edf720f2ec7ed641ae92ee368d0ffe9cf2.tar.gz podman-2e8ed5edf720f2ec7ed641ae92ee368d0ffe9cf2.tar.bz2 podman-2e8ed5edf720f2ec7ed641ae92ee368d0ffe9cf2.zip |
more shell completion improvements
* podman image ls --filter
* podman network ls --filter
* podman volume ls --filter
* podman network connect/disconnect
* podman events --filter
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman/volumes')
-rw-r--r-- | cmd/podman/volumes/list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/volumes/list.go b/cmd/podman/volumes/list.go index b0d999765..7e54de38a 100644 --- a/cmd/podman/volumes/list.go +++ b/cmd/podman/volumes/list.go @@ -56,7 +56,7 @@ func init() { filterFlagName := "filter" flags.StringSliceVarP(&cliOpts.Filter, filterFlagName, "f", []string{}, "Filter volume output") - _ = lsCommand.RegisterFlagCompletionFunc(filterFlagName, completion.AutocompleteNone) + _ = lsCommand.RegisterFlagCompletionFunc(filterFlagName, common.AutocompleteVolumeFilters) formatFlagName := "format" flags.StringVar(&cliOpts.Format, formatFlagName, "{{.Driver}}\t{{.Name}}\n", "Format volume output using Go template") |