Cleaned up main.cpp
This commit is contained in:
1 parent
297e24ab4e
commit
a1eb6caeb1
8 files changed
+90
-17
No files matched your search
@@ -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.";
|
||||
}
|
||||
|
||||
}}
|
||||
Reference in new issue
Block a user