Minor dev changes
Signed-off-by: Tiago Garcia <tiago.rgarcia@ua.pt>
This commit is contained in:
parent
616cbef241
commit
5187a6771e
|
@ -4,7 +4,6 @@
|
|||
class Routes {
|
||||
public:
|
||||
Routes(nlohmann::json);
|
||||
~Routes();
|
||||
|
||||
private:
|
||||
crow::SimpleApp app;
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
crow::response run_scripts(const nlohmann::json &run_scripts, const nlohmann::json &tokens, const crow::request &req) {
|
||||
// TODO: Implement run_scripts
|
||||
return crow::response(501);
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ void signal_handler(const int signum) {
|
|||
int main(int argc, char **argv) {
|
||||
// Check for config file argument, exit if it's not there
|
||||
if (argc < 2 || argc > 2) {
|
||||
std::cerr << "Usage: " << 0[argv] << " <config_file>" << std::endl;
|
||||
std::cerr << "Usage: " << 0[argv] << " <config | /path/to/config.json>" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue