Options option_name=0 in combination files were processed incorrectly

This commit is contained in:
Elena Stepanova 2014-03-31 18:04:05 +04:00
parent 4527456092
commit 2f60292aa4

View File

@ -47,7 +47,7 @@ sub option {
my $value= $self->{value};
my $opt= $name;
$opt= "$name=$value" if ($value);
$opt= "$name=$value" if (defined $value);
$opt= "--$opt" unless ($opt =~ /^--/);
return $opt;
}