Re: Add --check option to pgindent

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: Add --check option to pgindent
Дата
Msg-id CAGECzQQcUA6AmoFhxMSewrMLgbmw1zRw3eKZzHNAKwjT+tGB_A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add --check option to pgindent  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Список pgsql-hackers
On Mon, 18 Dec 2023 at 17:14, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
> One thing I'm wondering: When both --check and --diff are passed,
> should pgindent still early exit with 2 on the first incorrectly
> formatted file? Or should it show diffs for all failing files? I'm
> leaning towards the latter making more sense.

To be clear, in the latter case it would still exit with 2 at the end
of the script, but only after showing diffs for all files.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jelte Fennema-Nio
Дата:
Сообщение: Re: Add --check option to pgindent
Следующее
От: Jelte Fennema-Nio
Дата:
Сообщение: Re: psql JSON output format