mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-05-05 01:00:35 +08:00
Update OptionParser in all tools.
This commit is contained in:
@@ -225,7 +225,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});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user