aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorRaul Sevilla <rsevilla@redhat.com>2021-07-12 09:50:50 +0200
committerRaul Sevilla <rsevilla@redhat.com>2021-07-12 10:28:35 +0200
commit00db5c6eafe92f1eb1a06280d951907764ac817d (patch)
tree1304b8adb0ccd9b621e4f664af120a62e8cc2024 /cmd
parentbef1f03d3ca8bfd90f4cbb295d99bf97df74a815 (diff)
downloadpodman-00db5c6eafe92f1eb1a06280d951907764ac817d.tar.gz
podman-00db5c6eafe92f1eb1a06280d951907764ac817d.tar.bz2
podman-00db5c6eafe92f1eb1a06280d951907764ac817d.zip
Manifest create subcommand should accept more than 2 arguments
Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/manifest/create.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/manifest/create.go b/cmd/podman/manifest/create.go
index 9f7d74d14..0c1ef89f9 100644
--- a/cmd/podman/manifest/create.go
+++ b/cmd/podman/manifest/create.go
@@ -20,8 +20,9 @@ var (
ValidArgsFunction: common.AutocompleteImages,
Example: `podman manifest create mylist:v1.11
podman manifest create mylist:v1.11 arch-specific-image-to-add
+ podman manifest create mylist:v1.11 arch-specific-image-to-add another-arch-specific-image-to-add
podman manifest create --all mylist:v1.11 transport:tagged-image-to-add`,
- Args: cobra.RangeArgs(1, 2),
+ Args: cobra.MinimumNArgs(1),
}
)