summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2021-06-17 20:10:17 +0200
committerMatthew Heon <mheon@redhat.com>2021-06-24 13:47:21 -0400
commiteb6d4b0cfe385a1d1f2b8cd2b90acb3ae2145ef7 (patch)
treeb5411f8d59e6ee59a3bd288d53a9cd1878c6fb7f /cmd/podman
parente5c939183a709f4c6c1fd22df17cf641f78069da (diff)
downloadpodman-eb6d4b0cfe385a1d1f2b8cd2b90acb3ae2145ef7.tar.gz
podman-eb6d4b0cfe385a1d1f2b8cd2b90acb3ae2145ef7.tar.bz2
podman-eb6d4b0cfe385a1d1f2b8cd2b90acb3ae2145ef7.zip
Fix documentation of the --format option of podman push
It affects all transports; and without --format, we try several manifest formats. [NO TESTS NEEDED] Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/images/push.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/images/push.go b/cmd/podman/images/push.go
index 9e7b447a4..8dc21a544 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, v2s2, or v2s1) 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 in the destination (default is manifest type of source, with fallbacks)")
_ = cmd.RegisterFlagCompletionFunc(formatFlagName, common.AutocompleteManifestFormat)
flags.BoolVarP(&pushOptions.Quiet, "quiet", "q", false, "Suppress output information when pushing images")