pas2js: less hints

This commit is contained in:
mattias 2022-02-08 13:33:33 +01:00
parent 3c5d6e7224
commit 952eee5ed0
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@
program dts2pas;
{$mode objfpc}{$H+}
{AllowWriteln}
uses
Classes, SysUtils, StrUtils, CustApp, pascodegen, tstopas;

View File

@ -36,6 +36,7 @@ Type
procedure TStubCreatorApplication.PrintUsage(S : String);
begin
{AllowWriteln}
if S<>'' then
Writeln('Error : ',S);
writeln('usage: stubcreator options');
@ -49,6 +50,7 @@ begin
Writeln('-H --header=filename Add file header using contents of file "filename"');
Writeln('-f --forwardclasses[=list]');
Writeln(' Generate forward definitions for list of classes. If empty, for all classes.');
{AllowWriteln-}
ExitCode:=Ord(S<>'');
end;