pgsql: Allow and require passing files on command line of pgperltidy

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow and require passing files on command line of pgperltidy
Date: 2023-06-21 14:34:39
Message-ID: E1qByus-002uZl-RE@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow and require passing files on command line of pgperltidy

pgperltidy as well as pgperlcritic and pgperlsyncheck now allow
passing files and directories on the command line, like pgindent does.
(Previously, they would always operate on the whole tree.)

Also, for consistency with pgindent's new behavior (as of b16259b3c1),
passing an argument is now required. To get the previous default
behavior, use "pgperltidy ." for example.

Discussion: https://www.postgresql.org/message-id/flat/45aacd8a-5265-d9da-8df2-b8e2c0cf6a07%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3d9fd1a8743abfe460137f45e8523e710c7cc589

Modified Files
--------------
src/tools/perlcheck/find_perl_files | 8 ++++++--
src/tools/perlcheck/pgperlcritic | 2 +-
src/tools/perlcheck/pgperlsyncheck | 2 +-
src/tools/pgindent/README | 2 +-
src/tools/pgindent/pgperltidy | 2 +-
5 files changed, 10 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-06-21 15:07:34 pgsql: Avoid Assert failure when processing empty statement in aborted
Previous Message Michael Paquier 2023-06-21 07:17:27 pgsql: Disable use of archiving in 009_twophase.pl