mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 05:09:49 +02:00
pas2js: less hints
This commit is contained in:
parent
3c5d6e7224
commit
952eee5ed0
@ -16,6 +16,7 @@
|
|||||||
program dts2pas;
|
program dts2pas;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{AllowWriteln}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, StrUtils, CustApp, pascodegen, tstopas;
|
Classes, SysUtils, StrUtils, CustApp, pascodegen, tstopas;
|
||||||
|
@ -36,6 +36,7 @@ Type
|
|||||||
procedure TStubCreatorApplication.PrintUsage(S : String);
|
procedure TStubCreatorApplication.PrintUsage(S : String);
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
{AllowWriteln}
|
||||||
if S<>'' then
|
if S<>'' then
|
||||||
Writeln('Error : ',S);
|
Writeln('Error : ',S);
|
||||||
writeln('usage: stubcreator options');
|
writeln('usage: stubcreator options');
|
||||||
@ -49,6 +50,7 @@ begin
|
|||||||
Writeln('-H --header=filename Add file header using contents of file "filename"');
|
Writeln('-H --header=filename Add file header using contents of file "filename"');
|
||||||
Writeln('-f --forwardclasses[=list]');
|
Writeln('-f --forwardclasses[=list]');
|
||||||
Writeln(' Generate forward definitions for list of classes. If empty, for all classes.');
|
Writeln(' Generate forward definitions for list of classes. If empty, for all classes.');
|
||||||
|
{AllowWriteln-}
|
||||||
ExitCode:=Ord(S<>'');
|
ExitCode:=Ord(S<>'');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user