darold / pgFormatter

A PostgreSQL SQL syntax beautifier that can work as a console program or as a CGI. On-line demo site at http://sqlformat.darold.net/
PostgreSQL License
1.69k stars 101 forks source link

Misleading error #329

Open danicc097 opened 10 months ago

danicc097 commented 10 months ago

If running on multiple filenames without --inplace, error message is Error: can not use multiple input files with -i | --inplace. while it should be the opposite

pg_format --config .pg_format $file1 $file2, where .pg_format doesn't contain inplace=1