Update OptionParser in all tools.

This commit is contained in:
Daniel Nichter
2011-09-01 09:04:24 -06:00
parent 1373f69361
commit cdd5be4565
25 changed files with 25 additions and 25 deletions

View File

@@ -820,7 +820,7 @@ sub get_specs {
$self->{DSNParser} = DSNParser->new(opts => \@dsn_opts);
}
if ( $contents =~ m/^(Percona Toolkit v.+)$/m ) {
if ( $contents =~ m/^=head1 VERSION\n\n^(.+)$/m ) {
$self->{version} = $1;
MKDEBUG && _d($self->{version});
}