Browse Source

pas2js: help

mattias 6 years ago
parent
commit
ce48e61545

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

@@ -4336,6 +4336,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
compiler/utils/pas2js/docs/translation.html

@@ -227,6 +227,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>