Browse Source

Updated CLI help text

sanex3339 7 năm trước cách đây
mục cha
commit
e03bd9b635
3 tập tin đã thay đổi với 2 bổ sung3 xóa
  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 beyond its declaration is called child transformation.
 
-
 ## JavaScript Obfuscator Options
 
 Following options are available for the JS Obfuscator:

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/index.js


+ 2 - 2
src/cli/JavaScriptObfuscatorCLI.ts

@@ -233,7 +233,7 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
                 BooleanSanitizer
             )
             .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)',
                 ArraySanitizer
             )
@@ -246,7 +246,7 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
                 BooleanSanitizer
             )
             .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)',
                 ArraySanitizer
             )

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác