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.66k stars 100 forks source link

Misleading error #329

Open danicc097 opened 7 months ago

danicc097 commented 7 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