File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ module.exports.parseArgs = function (yargs) {
24
24
default : 'stdout' ,
25
25
alias : 'o'
26
26
} )
27
- . example ( '$0 build foo.js -f md > API.md' , 'parse documentation in a ' +
27
+ . example ( 'documentation build foo.js -f md > API.md' , 'parse documentation in a ' +
28
28
'file and generate API documentation as Markdown' ) ;
29
29
} ;
30
30
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module.exports = lint;
6
6
module . exports . description = 'check for common style and uniformity mistakes' ;
7
7
module . exports . parseArgs = function ( yargs ) {
8
8
return yargs
9
- . example ( '$0 lint project.js' , 'check documentation style' )
9
+ . example ( 'documentation lint project.js' , 'check documentation style' )
10
10
. help ( 'help' ) ;
11
11
} ;
12
12
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ var build = require('./build');
10
10
module . exports = readme ;
11
11
module . exports . description = 'inject documentation into your README.md' ;
12
12
module . exports . parseArgs = function ( yargs ) {
13
- return yargs . usage ( 'Usage: $0 readme [--readme-file=README.md] --section "API"' +
13
+ return yargs . usage ( 'Usage: documentation readme [--readme-file=README.md] --section "API"' +
14
14
' [--compare-only] [other documentationjs options]' )
15
15
. option ( 'readme-file' , {
16
16
describe : 'The markdown file into which to inject documentation' ,
@@ -33,7 +33,7 @@ module.exports.parseArgs = function (yargs) {
33
33
default : false
34
34
} )
35
35
. help ( 'help' )
36
- . example ( '$0 readme index.js -s "API Docs" --github' ) ;
36
+ . example ( 'documentation readme index.js -s "API Docs" --github' ) ;
37
37
} ;
38
38
39
39
function readme ( documentation , parsedArgs ) {
You can’t perform that action at this time.
0 commit comments