mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-24 02:01:42 +08:00
Added test. Updated all modules
This commit is contained in:
@@ -618,7 +618,7 @@ sub get_opts {
|
||||
if ( @ARGV && $ARGV[0] =~/^--config=/ ) {
|
||||
$ARGV[0] = substr($ARGV[0],9);
|
||||
# Clean '" independently because we need to match start/end with the same char ' or "
|
||||
$ARGV[0] =~ s/^'(.*)'$/$1/
|
||||
$ARGV[0] =~ s/^'(.*)'$/$1/;
|
||||
$ARGV[0] =~ s/^"(.*)"$/$1/;
|
||||
$self->_set_option('config', shift @ARGV);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user