Rename pgindent options
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 20 Dec 2023 22:28:57 +0000 (22:28 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 20 Dec 2023 22:37:57 +0000 (22:37 +0000)
commit387aecc948ed2fa39e04f84d9eea086d32ebd42e
tree2de5281bd95a4cd13fda2cd207f7ab9419ecef67
parente6c56f2a9d45d2ee636bb94c93a4268c39a1ad18
Rename pgindent options

--show-diff becomes --diff, and --silent-diff becomes --check. These
options may now be given together. Without --check, --diff will exit
with a zero status even if diffs are found. With --check, it will now
exit with a non-zero status in that case.

Author: Tristan Partin
Reviewed-by: Daniel Gustafsson, Jelte Fennema-Nio
Discussion: https://postgr.es/m/CXLX2XYTH9S6.140SC6Y61VD88@neon.tech
src/tools/pgindent/pgindent
src/tools/pgindent/pgindent.man