commit | b14e2f6c63c18894286c99ee8dde9070e24b41c2 | [log] [tgz] |
---|---|---|
author | Michael Stahl <Michael.Stahl@cib.de> | Fri Jun 22 17:10:22 2018 +0200 |
committer | Michael Stahl <Michael.Stahl@cib.de> | Fri Jun 22 17:10:22 2018 +0200 |
tree | dd40f548f5aedd92158819e2766c227c259bd14e | |
parent | 536201d92c7f65f5be8923762069add053e4aca9 [diff] |
validator: return a status code indicating success or failure It is a useful convention to return a failing status code in case something went horribly wrong during execution, or the command line arguments are invalid. This can then be checked e.g. in LO's test::BootstrapFixture. (If validation errors are found, it was still a successful execution.)