Browse Source

Updated CLI help text

sanex3339 7 years ago
parent
commit
e03bd9b635
3 changed files with 2 additions and 3 deletions
  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:

File diff suppressed because it is too large
+ 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
             )
             )

Some files were not shown because too many files changed in this diff