File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ var VERSION = 'chokidar-cli: ' + require('./package.json').version +
3333
3434var argv = require ( 'yargs' )
3535 . usage (
36- 'Usage: $0 <pattern> [<pattern>...] [options]\n\n' +
36+ 'Usage: chokidar <pattern> [<pattern>...] [options]\n\n' +
3737 '<pattern>:\n' +
3838 'Glob pattern to specify files to be watched.\n' +
3939 'Multiple patterns can be watched by separating patterns with spaces.\n' +
4040 'To prevent shell globbing, write pattern inside quotes.\n' +
4141 'Guide to globs: https://github.com/isaacs/node-glob#glob-primer\n'
4242 )
43- . example ( '$0 "**/*.js" -c "npm run build-js"' , 'build when any .js file changes' )
44- . example ( '$0 "**/*.js" "**/*.less"' , 'output changes of .js and .less files' )
43+ . example ( 'chokidar "**/*.js" -c "npm run build-js"' , 'build when any .js file changes' )
44+ . example ( 'chokidar "**/*.js" "**/*.less"' , 'output changes of .js and .less files' )
4545 . demand ( 1 )
4646 . option ( 'c' , {
4747 alias : 'command' ,
You can’t perform that action at this time.
0 commit comments