virt-win-reg: Make output of --version flag consistent (RHBZ#1213247).

This commit is contained in:
Richard W.M. Jones
2015-04-20 08:51:13 +01:00
parent 478a552ab4
commit 3b3f06d224

View File

@@ -234,7 +234,7 @@ pod2usage (1) if $help;
if ($version) {
my $g = Sys::Guestfs->new ();
my %h = $g->version ();
print "$h{major}.$h{minor}.$h{release}$h{extra}\n";
print "virt-win-reg $h{major}.$h{minor}.$h{release}$h{extra}\n";
exit
}