]> mj.ucw.cz Git - libucw.git/blobdiff - lib/perl/Configure.pm
Implemented SORT_UNIFY, SORT_UNIQUE and debugged SORT_VAR_DATA.
[libucw.git] / lib / perl / Configure.pm
index f251ce62c463c55204131b911ce278f6d9bec07f..383639f9ea3fd1ffb61e47208b4b1184852a193a 100644 (file)
@@ -119,12 +119,12 @@ sub Init($$) {
                if ($x =~ /^(\w+)=(.*)/) {
                        Override($1 => $2);
                } elsif ($x =~ /^-(\w+)$/) {
-                       Override($1 => 1);
+                       Override($1 => 0);
                        delete $vars{$1};
                } elsif ($x =~ /^(\w+)$/) {
                        Override($1 => 1);
                } else {
-                       print STDERR "Invalid option $_\n";
+                       print STDERR "Invalid option $x\n";
                        exit 1;
                }
        }