浏览代码

pas2js: marked writeln

mattias 2 月之前
父节点
当前提交
f1f28e35e1
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);