We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b59110 commit 91a3d06Copy full SHA for 91a3d06
cli.js
@@ -6,9 +6,9 @@ delete require.cache[require.resolve('yargs')];
6
var posthtml = require('posthtml');
7
var fs = require('fs');
8
var argv = require('yargs')
9
- .usage('Usage: $0 --output|-o output.html --input|-i input.html [--config|-c config.json]')
+ .usage('Usage: $0 --output|-o output.html --input|-i input.html [--config|-c config.(js|json)]')
10
.example('posthtml -o output.html -i input.html', 'Default example')
11
- .demand(['o', 'i'])
+ .demand(['o', 'i'])
12
.alias('i', 'input')
13
.alias('o', 'output')
14
.pkgConf('posthtml')
0 commit comments