mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 17:08:01 +02:00
pas2js: less hints
This commit is contained in:
parent
3c5d6e7224
commit
952eee5ed0
@ -16,6 +16,7 @@
|
||||
program dts2pas;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{AllowWriteln}
|
||||
|
||||
uses
|
||||
Classes, SysUtils, StrUtils, CustApp, pascodegen, tstopas;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user