mirror of
https://github.com/beautifier/js-beautify.git
synced 2024-12-18 02:27:27 +00:00
Scooch description of CLI options in usage message closer to the flags.
This commit is contained in:
parent
862bc423fa
commit
9408343aeb
14
cli.js
14
cli.js
@ -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]',
|
||||
|
Loading…
Reference in New Issue
Block a user