Add flag for non-zero exit code if any error occurred
ericcornelissen opened this issue · 0 comments
ericcornelissen commented
I understand the design choice to NOT exit with a non-zero exit code for a tool like this. However, I would like to at least have the possibility of this tool exiting with a non-zero exit code if an error occurred. What are the possibilities of adding a boolean flag to have the program exit with a non-zero exit code if any error occurred?
EDIT: this is used e.g. in the prealloc static analysis tool through -set_exit_status