mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-05-03 01:00:39 +08:00
Added test. Updated all modules
This commit is contained in:
@@ -552,6 +552,12 @@ sub get_opts {
|
||||
|
||||
$self->{errors} = [];
|
||||
|
||||
if ( @ARGV && $ARGV[0] =~/^--config=/ ) {
|
||||
$ARGV[0] = substr($ARGV[0],9);
|
||||
$ARGV[0] =~ s/^'(.*)'$/$1/
|
||||
$ARGV[0] =~ s/^"(.*)"$/$1/;
|
||||
$self->_set_option('config', shift @ARGV);
|
||||
}
|
||||
if ( @ARGV && $ARGV[0] eq "--config" ) {
|
||||
shift @ARGV;
|
||||
$self->_set_option('config', shift @ARGV);
|
||||
|
||||
Reference in New Issue
Block a user