mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 19:10:14 +02:00
* Fix option character test (bug ID 36438)
git-svn-id: trunk@43680 -
This commit is contained in:
parent
0b9b002807
commit
a3871b0a87
@ -394,7 +394,7 @@ begin
|
|||||||
else
|
else
|
||||||
begin // short options have form '-o value'
|
begin // short options have form '-o value'
|
||||||
If (AIndex<ParamCount) then
|
If (AIndex<ParamCount) then
|
||||||
if (Copy(Params[AIndex+1],1,1)<>'-') then
|
if (Copy(Params[AIndex+1],1,1)<>OptionChar) then
|
||||||
Result:=Params[AIndex+1];
|
Result:=Params[AIndex+1];
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user