Fix printing of correct version with '-v'

This commit is contained in:
Duncan Ferguson 2014-07-09 20:28:52 +01:00
parent 395a35e018
commit 72668c128f

View file

@ -281,7 +281,7 @@ sub getopts {
}
if ( $options->{version} ) {
print "Version: $VERSION\n";
print 'Version: ', $self->parent->VERSION, $/;
$self->exit;
}