Permalink
Browse files

Don't consider mutex options in different sources as mutex

  • Loading branch information...
1 parent faa7e32 commit 7f2199d4227d3d7a4980969b3e6b4732f61e28e4 @hoelzro hoelzro committed Dec 10, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 ConfigLoader.pm
View
@@ -534,7 +534,6 @@ sub check_for_mutually_exclusive_options {
my ( $arg_sources ) = @_;
my %mutually_exclusive_with;
- my %set_opts;
my @copy = @$arg_sources;
for(my $i = 0; $i < @INVALID_COMBINATIONS; $i += 2) {
@@ -549,6 +548,8 @@ sub check_for_mutually_exclusive_options {
}
while( @copy ) {
+ my %set_opts;
+
my ( $source_name, $args ) = splice @copy, 0, 2;
$args = ref($args) ? [ @$args ] : [ Text::ParseWords::shellwords($args) ];

0 comments on commit 7f2199d

Please sign in to comment.