Added test. Updated all modules

This commit is contained in:
Carlos Salguero
2016-10-27 13:39:51 -03:00
parent c61ce0f3db
commit 74eb8b72c0
28 changed files with 156 additions and 2 deletions

View File

@@ -1156,6 +1156,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);