summaryrefslogtreecommitdiff
path: root/cmd/podman/images/images.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/images/images.go')
-rw-r--r--cmd/podman/images/images.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/images/images.go b/cmd/podman/images/images.go
index 14ea01047..499bfd2ad 100644
--- a/cmd/podman/images/images.go
+++ b/cmd/podman/images/images.go
@@ -16,6 +16,7 @@ var (
Short: listCmd.Short,
Long: listCmd.Long,
RunE: listCmd.RunE,
+ ValidArgsFunction: listCmd.ValidArgsFunction,
Example: strings.Replace(listCmd.Example, "podman image list", "podman images", -1),
DisableFlagsInUseLine: true,
}
@@ -27,5 +28,5 @@ func init() {
Command: imagesCmd,
})
- imageListFlagSet(imagesCmd.Flags())
+ imageListFlagSet(imagesCmd)
}