Hi, I tried the committed pgindent. The attached small patch changes spaces in the usage message to tabs. Options other than --commit start with a tab.
Regards, Noriyoshi Shinoda From: Andrew Dunstan <and...@dunslane.net> Sent: Thursday, February 9, 2023 7:10 AM To: Jelte Fennema <postg...@jeltef.nl> Cc: Robert Haas <robertmh...@gmail.com>; Tom Lane <t...@sss.pgh.pa.us>; Justin Pryzby <pry...@telsasoft.com>; Andres Freund <and...@anarazel.de>; Noah Misch <n...@leadboat.com>; Peter Geoghegan <p...@bowt.ie>; Bruce Momjian <br...@momjian.us>; Magnus Hagander <mag...@hagander.net>; Alvaro Herrera <alvhe...@2ndquadrant.com>; Stephen Frost <sfr...@snowman.net>; Jesse Zhang <sbje...@gmail.com>; pgsql-hack...@postgresql.org Subject: Re: run pgindent on a regular basis / scripted manner On 2023-02-08 We 12:06, Jelte Fennema wrote: With the new patch --commit works as expected for me now. And sounds good to up the script a bit afterwards. Thanks, I have committed this. Still looking at Robert's other request. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com<https://www.enterprisedb.com>
pgindent_usage_v1.diff
Description: pgindent_usage_v1.diff