Minor dev changes

Signed-off-by: Tiago Garcia <tiago.rgarcia@ua.pt>
This commit is contained in:
Tiago Garcia 2024-07-18 01:40:32 +01:00
parent 616cbef241
commit 5187a6771e
Signed by: TiagoRG
GPG Key ID: DFCD48E3F420DB42
3 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,6 @@
class Routes {
public:
Routes(nlohmann::json);
~Routes();
private:
crow::SimpleApp app;

View File

@ -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);
}

View File

@ -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;
}