Scooch description of CLI options in usage message closer to the flags.

This commit is contained in:
Daniel Stockman 2013-03-13 11:28:55 -07:00
parent 862bc423fa
commit 9408343aeb

14
cli.js
View File

@ -107,13 +107,13 @@ function usage(err) {
'js-beautify@' + require('./package.json').version,
'',
'CLI Options:',
' -f, --file Input file(s) (Pass \'-\' for stdin)',
' -r, --replace Write output in-place, replacing input',
' -o, --outfile Write output to file (default stdout)',
' --config Path to config file',
' -q, --quiet Suppress output to stdout',
' -h, --help Show this help',
' -v, --version Show the version',
' -f, --file Input file(s) (Pass \'-\' for stdin)',
' -r, --replace Write output in-place, replacing input',
' -o, --outfile Write output to file (default stdout)',
' --config Path to config file',
' -q, --quiet Suppress output to stdout',
' -h, --help Show this help',
' -v, --version Show the version',
'',
'Beautifier Options:',
' -s, --indent-size Indentation size [4]',