pgsql: Allow and require passing files on command line of pgperltidy - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Allow and require passing files on command line of pgperltidy
Date
Msg-id E1qByus-002uZl-RE@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Disable use of archiving in 009_twophase.pl
Next
From: Tom Lane
Date:
Subject: pgsql: Avoid Assert failure when processing empty statement in aborted