Blame SOURCES/0113-v2v-i-ova-Make-error-message-unsupported-file-format.patch

ffd6ed
From e4dc8b36f3e7b16b81ea220b10325726c0406bca Mon Sep 17 00:00:00 2001
ffd6ed
From: "Richard W.M. Jones" <rjones@redhat.com>
ffd6ed
Date: Wed, 28 Jan 2015 13:28:37 +0000
ffd6ed
Subject: [PATCH] v2v: -i ova: Make error message "unsupported file format"
ffd6ed
 clearer.
ffd6ed
ffd6ed
Thanks: Moran Goldboim
ffd6ed
(cherry picked from commit 6a195d0f9565ad0e6e46f3e9904a6dea129e59f4)
ffd6ed
---
ffd6ed
 v2v/input_ova.ml | 2 +-
ffd6ed
 1 file changed, 1 insertion(+), 1 deletion(-)
ffd6ed
ffd6ed
diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml
ffd6ed
index 1ab0320..e2a1243 100644
ffd6ed
--- a/v2v/input_ova.ml
ffd6ed
+++ b/v2v/input_ova.ml
ffd6ed
@@ -63,7 +63,7 @@ object
ffd6ed
             error (f_"error unpacking %s, see earlier error messages") ova;
ffd6ed
           tmpdir
ffd6ed
         | `GZip | `XZ | `Unknown ->
ffd6ed
-          error (f_"%s: unsupported file format") ova
ffd6ed
+          error (f_"%s: unsupported file format\n\nFormats which we currently understand for '-i ova' are: uncompressed tar, zip") ova
ffd6ed
       ) in
ffd6ed
 
ffd6ed
     (* Exploded path must be absolute (RHBZ#1155121). *)
ffd6ed
-- 
ffd6ed
1.8.3.1
ffd6ed