IDE: ignore -vl and -vs options in all options parser.

git-svn-id: trunk@42254 -
This commit is contained in:
juha 2013-07-31 22:20:33 +00:00
parent 5ca336a4a2
commit 7e0793d348

View File

@ -676,6 +676,8 @@ procedure TCompilerOptSet.AddOptions(aDescr: string; aIndent: integer);
var
OptSet: TCompilerOpt;
begin
// Ignore -vl and -vs
if (fOption = '-v') and (aDescr[1] in ['l', 's']) then Exit;
OptSet := TCompilerOpt.Create(Self); // Add it under a group
OptSet.fIndentation := aIndent;
OptSet.fOption := aDescr[1];