| От | Ashutosh Bapat |
|---|---|
| Тема | Re: pgindent exit status if a file encounters an error |
| Дата | |
| Msg-id | CAExHW5sPjCaZzfx0Vf887qO2GxsLWEn3nBvbBSM_vgxcQnpzyA@mail.gmail.com обсуждение |
| Ответ на | Re: pgindent exit status if a file encounters an error (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: pgindent exit status if a file encounters an error
Re: pgindent exit status if a file encounters an error |
| Список | pgsql-hackers |
Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> writes:
> The usage help mentions exit code 2 specifically while describing --check
> option but it doesn't mention exit code 1. Neither does the README. So I
> don't think we need to document exit code 3 anywhere. Please let me know if
> you think otherwise.
I think we should have at least a code comment summarizing the
possible exit codes, along the lines of
# Exit codes:
# 0 -- all OK
# 1 -- could not invoke pgindent, nothing done
# 2 -- --check mode and at least one file requires changes
# 3 -- pgindent failed on at least one file
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера