Skip to content

Commit 91a3d06

Browse files
author
Ivan Demidov
committed
update indent adn usage example
1 parent 8b59110 commit 91a3d06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ delete require.cache[require.resolve('yargs')];
66
var posthtml = require('posthtml');
77
var fs = require('fs');
88
var argv = require('yargs')
9-
.usage('Usage: $0 --output|-o output.html --input|-i input.html [--config|-c config.json]')
9+
.usage('Usage: $0 --output|-o output.html --input|-i input.html [--config|-c config.(js|json)]')
1010
.example('posthtml -o output.html -i input.html', 'Default example')
11-
.demand(['o', 'i'])
11+
.demand(['o', 'i'])
1212
.alias('i', 'input')
1313
.alias('o', 'output')
1414
.pkgConf('posthtml')

0 commit comments

Comments
 (0)