diff --git a/packages/fcl-base/src/custapp.pp b/packages/fcl-base/src/custapp.pp index 9919dc434b..2100e5bc23 100644 --- a/packages/fcl-base/src/custapp.pp +++ b/packages/fcl-base/src/custapp.pp @@ -333,7 +333,8 @@ begin else begin // short options have form '-o value' If (I'-') then + Result:=Params[I+1]; end; end; end;