Support non-zero exit status upon detecting formatting changes needed
Hi, I'm trying to integrate this with CMake as part of a CI/CD workflow.
I can't find a command line option that causes a non-zero exit status to be emitted when formatting changes are needed, as part of a dry-run.
Is it possible to add something like a --error-on-changes
option?
In my case, I would be using it with other options like: --formatted --quiet --dry-run --error-on-changes
.
Thanks.
Edited by Marco Satti