summaryrefslogtreecommitdiff
path: root/cmd/podman/images
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-05-17 16:20:30 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-05-19 14:04:22 +0200
commit74f70315b30e9fdd3113181d94b2e64e505a05d5 (patch)
tree8810eccfecb0bdd31dab010b7556a4ee989316a6 /cmd/podman/images
parent318e95fd2a9a8b1bcd0f1caec4612335cc1ee591 (diff)
downloadpodman-74f70315b30e9fdd3113181d94b2e64e505a05d5.tar.gz
podman-74f70315b30e9fdd3113181d94b2e64e505a05d5.tar.bz2
podman-74f70315b30e9fdd3113181d94b2e64e505a05d5.zip
shell completion: update podman inspect --type options
Add all option that are supported by the podman inspect --type flag to the completions. Also use the same constants instead of duplicating the strings. In order to do this I had to move the definitions into the common package to prevent an import cycle. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'cmd/podman/images')
-rw-r--r--cmd/podman/images/inspect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/images/inspect.go b/cmd/podman/images/inspect.go
index 22c404b3f..310f8cda8 100644
--- a/cmd/podman/images/inspect.go
+++ b/cmd/podman/images/inspect.go
@@ -38,6 +38,6 @@ func init() {
}
func inspectExec(cmd *cobra.Command, args []string) error {
- inspectOpts.Type = inspect.ImageType
+ inspectOpts.Type = common.ImageType
return inspect.Inspect(args, *inspectOpts)
}