summaryrefslogtreecommitdiff
path: root/cmd/podman/images/pull.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-30 22:59:09 +0200
committerGitHub <noreply@github.com>2020-04-30 22:59:09 +0200
commit6803e72bf87e737663db054d971135bc06d0747f (patch)
tree7961d31eb3722d4329be65205c6f8c2400ff965a /cmd/podman/images/pull.go
parentc31bf2e97644b76163624149bb130528c6a5a394 (diff)
parent52371057cdd4084ac7c333d84b5f723029012855 (diff)
downloadpodman-6803e72bf87e737663db054d971135bc06d0747f.tar.gz
podman-6803e72bf87e737663db054d971135bc06d0747f.tar.bz2
podman-6803e72bf87e737663db054d971135bc06d0747f.zip
Merge pull request #6055 from baude/v2args
fix commands without input
Diffstat (limited to 'cmd/podman/images/pull.go')
-rw-r--r--cmd/podman/images/pull.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/images/pull.go b/cmd/podman/images/pull.go
index fead5f7ed..9f4cbc50e 100644
--- a/cmd/podman/images/pull.go
+++ b/cmd/podman/images/pull.go
@@ -45,6 +45,7 @@ var (
Short: pullCmd.Short,
Long: pullCmd.Long,
RunE: pullCmd.RunE,
+ Args: cobra.ExactArgs(1),
Example: `podman image pull imageName
podman image pull fedora:latest`,
}