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