beautifier/js-beautify

Documentation is wrong

ed2050 opened this issue · 0 comments

The documentation is wrong. Github project page says that command line flags are same for python and js versions. However this is incorrect. Running python version js-beautify --config foo produces option --config not recognized.

Running 1.15.1 from pypi.

From project page:

Options

These are the command-line flags for both Python and JS scripts:

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