Răsfoiți Sursa

pas2js: help

git-svn-id: trunk@41863 -
Mattias Gaertner 6 ani în urmă
părinte
comite
25137aef66

+ 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>