aboutsummaryrefslogtreecommitdiffstats
path: root/test/02-list.test
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-05-13 15:59:02 +0200
committerWynn Wolf Arbor2020-05-13 15:59:02 +0200
commit1d79b6782a521e1712f29362bc8d7793c0a73402 (patch)
treed91a762594604d746d41275647f542b3a3c19324 /test/02-list.test
parentebec2da1e00f228437f069a7c22045ffd915d37b (diff)
downloadbosun-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/02-list.test')
0 files changed, 0 insertions, 0 deletions