Обсуждение: pgsql: Allow and require passing files on command line of pgperltidy

Поиск
Список
Период
Сортировка

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

От
Peter Eisentraut
Дата:
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(-)