@@ -30,11 +30,11 @@ if (args.version) {
30
30
}
31
31
32
32
if ( args . help || args . _ . length === 0 ) {
33
- console . log ( '\nUsage: dependency-check <path to module files , package.json or module folder> <additional entries to add> <options>' )
34
-
33
+ console . log ( '\nUsage: dependency-check <path to entry file , package.json or module folder> <additional entry paths to add> <options>' )
34
+ console . log ( '\nEntry paths supports globbing for easy adding of eg. entire folders.' )
35
35
console . log ( '\nOptions:' )
36
- console . log ( '--missing (default) Check to make sure that all modules in your code are listed in your package.json' )
37
- console . log ( '--unused The inverse of the --missing check and will tell you which modules in your package.json *were not* used in your code' )
36
+ console . log ( '--missing Only check to make sure that all modules in your code are listed in your package.json' )
37
+ console . log ( '--unused Only check which modules listed in your package.json *are not* used in your code' )
38
38
console . log ( "--no-dev Won't tell you about devDependencies that are missing or unused" )
39
39
console . log ( "--no-peer Won't tell you about peerDependencies that are missing or unused" )
40
40
console . log ( "--ignore-module, -i Won't tell you about these module names when missing or unused. Supports globbing" )
@@ -44,7 +44,7 @@ if (args.help || args._.length === 0) {
44
44
console . log ( "--extensions, -e List of file extensions with detective to use when resolving require paths. Eg. 'js,jsx:detective-es6'" )
45
45
console . log ( '--version Show current version' )
46
46
console . log ( '--ignore To always exit with code 0 pass --ignore' )
47
- console . log ( '--verbose Enable logging of success' )
47
+ console . log ( '--verbose Enable logging of eg. success message ' )
48
48
console . log ( '' )
49
49
50
50
process . exit ( 1 )
0 commit comments