On Mon, 18 Dec 2023 at 17:14, Jelte Fennema-Nio <postg...@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.