소스 검색

Updated CLI help text

sanex3339 7 년 전
부모
커밋
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 beyond its declaration is called child transformation.
 
-
 ## JavaScript Obfuscator Options
 
 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
             )
             .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
             )

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.