inspector: Improve error message when YAML::Any library is not installed.
authorRichard Jones <rjones@redhat.com>
Fri, 2 Jul 2010 09:50:38 +0000 (10:50 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 2 Jul 2010 09:50:38 +0000 (10:50 +0100)
inspector/virt-inspector

index f62d21f..dc15f0d 100755 (executable)
@@ -321,7 +321,7 @@ elsif ($output eq "perl") {
 
 # YAML output
 elsif ($output eq "yaml") {
-    die __"virt-inspector: no YAML support\n"
+    die __"virt-inspector: no YAML support, try installing perl-YAML or libyaml-perl\n"
         unless exists $INC{"YAML/Any.pm"};
 
     print Dump(%$oses);