summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/commit.go b/cmd/podman/commit.go
index 14b7ddace..9e468c2d9 100644
--- a/cmd/podman/commit.go
+++ b/cmd/podman/commit.go
@@ -80,7 +80,7 @@ func commitCmd(c *cli.Context) error {
case "oci":
mimeType = buildah.OCIv1ImageManifest
if c.IsSet("message") {
- return errors.Errorf("messages cannot be added to the OCIv1 image format.")
+ return errors.Errorf("messages are only compatible with the docker image format (-f docker)")
}
case "docker":
mimeType = buildah.Dockerv2ImageManifest