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

Function-case and Keyword-case options have duplicate help text. #320

Closed Gamrix closed 1 year ago

Gamrix commented 1 year ago

As the text describing the two options --function-case and --keyword-case are identical, I don't understand what are the differences between these two options. Could someone explain it? (I am happy to contribute a doc PR if an explanation is provided).

Text for both are: Change the case of the reserved keyword.

darold commented 1 year ago

Hi, thanks for the report. Commit bf6a5de1 fixes this description. Actually the --function-case option is use to set the case of the PostgreSQL functions used in a query.