Return 0 for an error, 1 for no error from read_options;
that's what the calling code seems to expect.
This commit is contained in:
parent
d3407350d8
commit
ad2cb8b4f6
@ -831,6 +831,6 @@ sub read_options
|
|||||||
elsif (/^-[lL].*$/) { $l_flags.="$_ "; }
|
elsif (/^-[lL].*$/) { $l_flags.="$_ "; }
|
||||||
elsif ((!/^-help/) && (!/^-h/) && (!/^-\?/) && /^-.*$/)
|
elsif ((!/^-help/) && (!/^-h/) && (!/^-\?/) && /^-.*$/)
|
||||||
{ $c_flags.="$_ "; }
|
{ $c_flags.="$_ "; }
|
||||||
else { return(1); }
|
else { return(0); }
|
||||||
return(0);
|
return(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user