3m/tests/LocalQueryActionTest.cpp

18 lines
318 B
C++
Raw Normal View History

#include "../QueryAction.h"
#include <iostream>
#include <cstdlib>
using namespace std;
int main(int argc, char** argv) {
mmm::QueryAction act(true);
if(argc > 1) {
for(int i = 1; i < argc; i++) {
std::string arg = "";
arg += argv[i];
act.insertParameter(arg);
}
}
act.run();
return EXIT_SUCCESS;
}