Commit 2f60292a authored by Elena Stepanova's avatar Elena Stepanova

Options option_name=0 in combination files were processed incorrectly

parent 45274560
...@@ -47,7 +47,7 @@ sub option { ...@@ -47,7 +47,7 @@ sub option {
my $value= $self->{value}; my $value= $self->{value};
my $opt= $name; my $opt= $name;
$opt= "$name=$value" if ($value); $opt= "$name=$value" if (defined $value);
$opt= "--$opt" unless ($opt =~ /^--/); $opt= "--$opt" unless ($opt =~ /^--/);
return $opt; return $opt;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment