Options option_name=0 in combination files were processed incorrectly
This commit is contained in:
parent
4527456092
commit
2f60292aa4
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user