Browse Source

pas2js: marked writeln

mattias 2 weeks ago
parent
commit
f1f28e35e1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      utils/pas2js/httpcompiler.pp

+ 2 - 0
utils/pas2js/httpcompiler.pp

@@ -301,8 +301,10 @@ end;
 procedure THTTPCompilerApplication.WriteOptions;
 begin
   inherited WriteOptions;
+  {AllowWriteln}
   Writeln('-s --simpleserver        Only serve files, do not enable compilation.');
   Writeln('-w --watch               Watch directory for changes');
+  {AllowWriteln-}
 end;
 
 procedure THTTPCompilerApplication.ReportBuilding(AItem: TCompileItem);