зеркало из https://github.com/twbs/bootlint.git
Merge pull request #241 from twbs/commander
Bump commander.js and add program description to help
This commit is contained in:
Коммит
13ddb6f4ad
|
@ -59,7 +59,7 @@
|
|||
"body-parser": "^1.12.0",
|
||||
"chalk": "^0.5.1",
|
||||
"cheerio": "^0.18.0",
|
||||
"commander": "^2.5.0",
|
||||
"commander": "^2.6.0",
|
||||
"debug": "^2.1.1",
|
||||
"express": "^4.11.2",
|
||||
"glob": "^4.4.0",
|
||||
|
|
|
@ -12,6 +12,7 @@ var bootlint = require('./bootlint');
|
|||
|
||||
program
|
||||
.version(require('../package.json').version)
|
||||
.description('Lint the HTML of Bootstrap projects')
|
||||
.usage('[options] [files...]')
|
||||
.option('-d, --disable <IDs>', 'Comma-separated list of disabled lint problem IDs', function (val) {
|
||||
return val.split(',');
|
||||
|
|
Загрузка…
Ссылка в новой задаче