Have an option to exit with a non-zero exit code on errors
When using MMT in a script (for example within lmh) I need a way to detect errors.
At the moment there is no way for me to check if somethign like xhtml generation was successfull.
That is why it would be good to have an option or command that exits with a non-zero exit code whenever there is an error.