瀏覽代碼

Updated CLI help text

sanex3339 8 年之前
父節點
當前提交
e03bd9b635
共有 3 個文件被更改,包括 2 次插入3 次删除
  1. 0 1
      README.md
  2. 0 0
      dist/index.js
  3. 2 2
      src/cli/JavaScriptObfuscatorCLI.ts

+ 0 - 1
README.md

@@ -235,7 +235,6 @@ For example:
 * Obfuscation of the variable's name at its declaration is called direct transformation;
 * Obfuscation of the variable's name at its declaration is called direct transformation;
 * Obfuscation of the variable's name beyond its declaration is called child transformation.
 * Obfuscation of the variable's name beyond its declaration is called child transformation.
 
 
-
 ## JavaScript Obfuscator Options
 ## JavaScript Obfuscator Options
 
 
 Following options are available for the JS Obfuscator:
 Following options are available for the JS Obfuscator:

文件差異過大導致無法顯示
+ 0 - 0
dist/index.js


+ 2 - 2
src/cli/JavaScriptObfuscatorCLI.ts

@@ -233,7 +233,7 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
                 BooleanSanitizer
                 BooleanSanitizer
             )
             )
             .option(
             .option(
-                '--domainLock <list>',
+                '--domainLock \'<list>\' (comma separated)',
                 'Blocks the execution of the code in domains that do not match the passed RegExp patterns (comma separated)',
                 'Blocks the execution of the code in domains that do not match the passed RegExp patterns (comma separated)',
                 ArraySanitizer
                 ArraySanitizer
             )
             )
@@ -246,7 +246,7 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
                 BooleanSanitizer
                 BooleanSanitizer
             )
             )
             .option(
             .option(
-                '--reservedNames <list>',
+                '--reservedNames \'<list>\' (comma separated)',
                 'Disable obfuscation of variable names, function names and names of function parameters that match the passed RegExp patterns (comma separated)',
                 'Disable obfuscation of variable names, function names and names of function parameters that match the passed RegExp patterns (comma separated)',
                 ArraySanitizer
                 ArraySanitizer
             )
             )

部分文件因文件數量過多而無法顯示