Skip to content

Commit a16e2c1

Browse files
committed
fix(cli): help message
1 parent a98a83c commit a16e2c1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ESDocCLI.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ export default class ESDocCLI {
6262
console.log('Usage: esdoc [-c esdoc.json]');
6363
console.log('');
6464
console.log('Options:');
65-
console.log(' -c', 'create the documents');
65+
console.log(' -c', 'specify config file');
6666
console.log(' -h', 'output usage information');
6767
console.log(' -v', 'output the version number');
6868
console.log('');
69-
console.log('ESDoc finds configuration:');
70-
console.log(' 1. -c option');
71-
console.log(' 2. .esdoc.json in working directory');
72-
console.log(' 3. .esdoc.js in working directory');
69+
console.log('ESDoc finds configuration by the order:');
70+
console.log(' 1. `-c your-esdoc.json`');
71+
console.log(' 2. `.esdoc.json` in current directory');
72+
console.log(' 3. `.esdoc.js` in current directory');
7373
console.log(' 4. `esdoc` property in package.json');
7474
}
7575

0 commit comments

Comments
 (0)