From dbbc9cea96533805aa6177982178fcd5aaaeb44f Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 28 Feb 2018 23:09:07 +0100 Subject: [PATCH] docfix --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fc0190b..d425364 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ * Tested OS: Linux * C++ compiler (tested: gcc 6.4, clang 5.0) * [cmake](https://cmake.org/) (tested: 3.9.6) - * [mastodon-cpp](https://github.com/tastytea/mastodon-cpp) (tested: 0.4.4) + * [mastodon-cpp](https://github.com/tastytea/mastodon-cpp) (at least: 0.4.4) * [rapidjson](http://rapidjson.org/) (tested: 1.1.0) ## Get sourcecode @@ -34,6 +34,16 @@ Install with `make install`. Run mastobotmon once. Edit config file (`~/.config/mastobotmon.json`). Call mastobotmon from cron. +## Error codes + +Same as [mastodon-cpp](https://github.com/tastytea/mastodon-cpp/blob/master/README.md#error-codes), plus: + +| Code | Explanation | +| --------: |:------------------------------| +| 1 | Couldn't read / create config | + +If you use a debug build, you get more verbose error messages. + # TODO * Version 0.1.0 @@ -49,12 +59,6 @@ Call mastobotmon from cron. * Version 0.5.0 * [ ] Allow to run command on alert -## Error codes - -Same as [mastodon-cpp](https://github.com/tastytea/mastodon-cpp/blob/master/README.md#error-codes) - -If you use a debug build, you get more verbose error messages. - # Copyright Copyright © 2018 tastytea .