Allow multiple --excludes options in pgindent
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 27 Jan 2023 14:38:59 +0000 (09:38 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 27 Jan 2023 14:52:02 +0000 (09:52 -0500)
commita1c4cd6f2c8857fbb78d043a0b3c7d397e48ef2e
treefe674874517ebb1a350b6ba510f66fca74e07f25
parent8f6858064b1442f9ad057d289b0e4f018a2ad8aa
Allow multiple --excludes options in pgindent

This includes a unification of the logic used to find the excludes file
and the typedefs file.

Also, remove the dangerous and deprecated feature where the first
non-option argument was taken as a typdefs file if it wasn't a .c or .h
file, remove some extraneous blank lines, and improve the documentation
somewhat.
src/tools/pgindent/pgindent
src/tools/pgindent/pgindent.man