Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation is wrong #2278

Open
ed2050 opened this issue Jun 5, 2024 · 0 comments
Open

Documentation is wrong #2278

ed2050 opened this issue Jun 5, 2024 · 0 comments

Comments

@ed2050
Copy link

ed2050 commented Jun 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants