浏览代码

pas2js: help

git-svn-id: trunk@41863 -
Mattias Gaertner 6 年之前
父节点
当前提交
25137aef66
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 2 0
      packages/pastojs/src/pas2jscompiler.pp
  2. 3 0
      utils/pas2js/docs/translation.html

+ 2 - 0
packages/pastojs/src/pas2jscompiler.pp

@@ -4338,6 +4338,8 @@ begin
   w('  -?     : Show this help');
   w('  -h     : Show this help');
   Log.LogLn;
+  w('Environment variable PAS2JS_OPTS is parsed after default config and before command line parameters.');
+  Log.LogLn;
   w('Macros: Format is $Name, $Name$ or $Name()');
   for i:=0 to ParamMacros.Count-1 do begin
     ParamMacro:=ParamMacros[i];

+ 3 - 0
utils/pas2js/docs/translation.html

@@ -228,6 +228,9 @@ Put + after a boolean switch option to enable it, - to disable it
   -vm<x>,<y>: Do not show messages numbered <x> and <y>.
   -?      : Show this help
   -h      : Show this help
+
+Environment variable PAS2JS_OPTS is parsed after default config
+and before command line parameters.
 </pre>
     </div>