Browse Source

pastojs: docs

git-svn-id: trunk@46929 -
Mattias Gaertner 4 years ago
parent
commit
135f3745d6
1 changed files with 3 additions and 2 deletions
  1. 3 2
      utils/pas2js/docs/translation.html

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

@@ -190,8 +190,9 @@ Put + after a boolean switch option to enable it, - to disable it
   -n      : Do not read the default config files
   -o<x>   : Change main JavaScript file to <x>, "." means stdout
   -O<x>   : Optimizations:
-    -O-   : Disable optimizations
-    -O1   : Level 1 optimizations (quick and debugger friendly)
+    -O-  : Disable optimizations
+    -O1  : Level 1 optimizations (quick and debugger friendly)
+    -O2  : Level 2 optimizations (Level 1 + not debugger friendly)
     -Oo<x> : Enable or disable optimization. The x is case insensitive:
       -OoEnumNumbers[-] : write enum values as number instead of name. Default in -O1.
       -OoRemoveNotUsedPrivates[-] : Default is enabled