18 lines
318 B
C++
18 lines
318 B
C++
|
#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;
|
||
|
}
|