Cleaned up main.cpp

This commit is contained in:
Pedro Pinto committed 2017-10-11 18:49:12 +00:00
1 parent 297e24ab4e
commit a1eb6caeb1
8 files changed
+90 -17

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#include "ConfigCheck.h"
#include "lib/config/ConfigCheck.h"
namespace bts {
namespace cmd {
int ConfigCheck::execute(std::vector<std::string> const &args)
{
std::vector<const char*> ch_args;
for (auto const &s : args)
ch_args.push_back(s.c_str());
configcheck(ch_args.size(),&ch_args[0]);
return 0;
}
std::string ConfigCheck::help ()
{
return "Config check help.";
}
}}