Commit b30279fd authored by jcaceres's avatar jcaceres
Browse files

Fix details on main

parent 8d366864
......@@ -105,13 +105,10 @@ void main_dialog( int argc, char* argv[] )
if(opt->getValue("connect") != NULL)
jmessClient.connectPorts(opt->getValue("connect"));
else if (opt->getValue("connect") == NULL)
cerr << "ERROR: no input file specified for connect." << endl;
if(opt->getValue("save") != NULL)
jmessClient.writeOutput(opt->getValue("save"));
else if (opt->getValue("save") != NULL)
cerr << "ERROR: no ouput file name specified to save." << endl;
//8. DONE
delete opt;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment