helpString += "The set.logfile command parameters are name and append, name is required. Append is set to false by default.\n";
helpString += "The set.logfile command should be in the following format: set.logfile(name=yourLogFileName, append=T).\n";
helpString += "Example set.logfile(name=/Users/lab/desktop/output.txt, append=T).\n";
- helpString += "Note: No spaces between parameter labels (i.e. name), '=' and parameters (i.e.yourLogFileName).\n\n";
+ helpString += "Note: No spaces between parameter labels (i.e. name), '=' and parameters (i.e.yourLogFileName).\n";
return helpString;
}
catch(exception& e) {
if(option == "help") { help(); abort = true; calledHelp = true; }
else {
- //valid paramters for this command
- string Array[] = {"name","append","outputdir","inputdir"};
- vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+ vector<string> myArray = setParameters();
OptionParser parser(option);
map<string, string> parameters = parser.getParameters();