summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-29 12:05:20 -0500
committerGitHub <noreply@github.com>2021-01-29 12:05:20 -0500
commit4ee66c2c2ecc747ec3d567c0cff6fb89b2f8f112 (patch)
treeb8d8227eea8be154ac72bb7bb655efc07a742278 /cmd/podman
parentb59848a2b92b1554c55f6bd33a105c0fef158b8a (diff)
parentd7c356552e3c3d1710f22da2f710f9ad529c2ad9 (diff)
downloadpodman-4ee66c2c2ecc747ec3d567c0cff6fb89b2f8f112.tar.gz
podman-4ee66c2c2ecc747ec3d567c0cff6fb89b2f8f112.tar.bz2
podman-4ee66c2c2ecc747ec3d567c0cff6fb89b2f8f112.zip
Merge pull request #9149 from rhatdan/docs
Podman-remote push can support --format
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/images/push.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podman/images/push.go b/cmd/podman/images/push.go
index 56f618539..eccf93e57 100644
--- a/cmd/podman/images/push.go
+++ b/cmd/podman/images/push.go
@@ -98,7 +98,7 @@ func pushFlags(cmd *cobra.Command) {
_ = cmd.RegisterFlagCompletionFunc(digestfileFlagName, completion.AutocompleteDefault)
formatFlagName := "format"
- flags.StringVarP(&pushOptions.Format, formatFlagName, "f", "", "Manifest type (oci, v2s1, or v2s2) to use when pushing an image using the 'dir' transport (default is manifest type of source)")
+ flags.StringVarP(&pushOptions.Format, formatFlagName, "f", "", "Manifest type (oci, v2s2, or v2s1) to use when pushing an image using the 'dir' transport (default is manifest type of source)")
_ = cmd.RegisterFlagCompletionFunc(formatFlagName, common.AutocompleteManifestFormat)
flags.BoolVarP(&pushOptions.Quiet, "quiet", "q", false, "Suppress output information when pushing images")
@@ -115,7 +115,6 @@ func pushFlags(cmd *cobra.Command) {
_ = flags.MarkHidden("cert-dir")
_ = flags.MarkHidden("compress")
_ = flags.MarkHidden("digestfile")
- _ = flags.MarkHidden("format")
_ = flags.MarkHidden("quiet")
_ = flags.MarkHidden("remove-signatures")
_ = flags.MarkHidden("sign-by")