diff options
author | Wynn Wolf Arbor | 2020-05-13 15:59:02 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-05-13 15:59:02 +0200 |
commit | 1d79b6782a521e1712f29362bc8d7793c0a73402 (patch) | |
tree | d91a762594604d746d41275647f542b3a3c19324 /test/01-add.test | |
parent | ebec2da1e00f228437f069a7c22045ffd915d37b (diff) | |
download | bosun-1d79b6782a521e1712f29362bc8d7793c0a73402.tar.gz |
Improve error reporting
This commit introduces several improvements to the way bosun reacts to
and reports errors.
Instead of doing nothing and exiting silently, alert the user and print
a short usage synopsis if bosun does not understand a command it was
passed. Also, alert the user and print available list types if the
`list` command was invoked with a type it does not understand. Lastly,
check for the existence of a role before trying to `add`, `remove`, or
`rebuild` it.
Diffstat (limited to 'test/01-add.test')
0 files changed, 0 insertions, 0 deletions