X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandoptionparser.cpp;h=e356afe5c74972e5298ddfa87a0672c97c4facfe;hb=47af4126c6ece121172cd486c1ca7eeb1ccae2de;hp=df216da738e7ba6dd92ec0817c6353b0b1723870;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;p=mothur.git diff --git a/commandoptionparser.cpp b/commandoptionparser.cpp index df216da..e356afe 100644 --- a/commandoptionparser.cpp +++ b/commandoptionparser.cpp @@ -8,7 +8,6 @@ */ -#include "globaldata.hpp" #include "commandoptionparser.hpp" @@ -27,8 +26,8 @@ CommandOptionParser::CommandOptionParser(string input){ commandString = input.substr(0, openParen); //commandString contains everything before "(" optionString = input.substr((openParen+1), (closeParen-openParen-1)); //optionString contains everything between "(" and ")". } - else if (openParen == -1) { m->mothurOut("You are missing ("); m->mothurOutEndLine(); } - else if (closeParen == -1) { m->mothurOut("You are missing )"); m->mothurOutEndLine(); } + else if (openParen == -1) { m->mothurOut("[ERROR]: You are missing ("); m->mothurOutEndLine(); } + else if (closeParen == -1) { m->mothurOut("[ERROR]:You are missing )"); m->mothurOutEndLine(); } //GlobalData* globaldata = GlobalData::getInstance(); //globaldata->parseGlobalData(commandString, optionString); //parser to separate and check options