mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 23:09:18 +02:00
* -r/chrome option
This commit is contained in:
parent
90cac5536f
commit
5bc1cfa9bc
@ -142,7 +142,7 @@ var
|
|||||||
begin
|
begin
|
||||||
Terminate;
|
Terminate;
|
||||||
// quick check parameters
|
// quick check parameters
|
||||||
ErrorMsg:=CheckOptions('ced::f:g:hi:m:n:o:pt:u:vw:x:', [
|
ErrorMsg:=CheckOptions('ced::f:g:hi:m:n:o:pt:u:vw:x:r', [
|
||||||
'help',
|
'help',
|
||||||
'constexternal',
|
'constexternal',
|
||||||
'dicttoclass::',
|
'dicttoclass::',
|
||||||
@ -158,7 +158,8 @@ begin
|
|||||||
'unitname:',
|
'unitname:',
|
||||||
'verbose',
|
'verbose',
|
||||||
'webidlversion:',
|
'webidlversion:',
|
||||||
'extra:'
|
'extra:',
|
||||||
|
'chrome'
|
||||||
]);
|
]);
|
||||||
if (ErrorMsg<>'') or HasOption('h','help') then
|
if (ErrorMsg<>'') or HasOption('h','help') then
|
||||||
begin
|
begin
|
||||||
@ -195,7 +196,7 @@ begin
|
|||||||
TWebIDLToPas2js(FWebIDLToPas).DictionaryClassParent:=GetOptionValue('d','dicttoclass');
|
TWebIDLToPas2js(FWebIDLToPas).DictionaryClassParent:=GetOptionValue('d','dicttoclass');
|
||||||
|
|
||||||
CheckBaseOption(coExpandUnionTypeArgs,'e','expandunionargs');
|
CheckBaseOption(coExpandUnionTypeArgs,'e','expandunionargs');
|
||||||
|
CheckBaseOption(coChromeWindow,'r','chrome');
|
||||||
// -f ?
|
// -f ?
|
||||||
|
|
||||||
A:=GetOptionValue('g','globals');
|
A:=GetOptionValue('g','globals');
|
||||||
|
Loading…
Reference in New Issue
Block a user