X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=nocommands.cpp;h=eab873ba1eec6bc6a01b748f4ce6b441c9e1f4f1;hb=09ce41fb228c00d0f49896c66b2f2c5760914769;hp=459ac5cfe8d0d79ff86569c4c090a0ae84d6c52c;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;p=mothur.git diff --git a/nocommands.cpp b/nocommands.cpp index 459ac5c..eab873b 100644 --- a/nocommands.cpp +++ b/nocommands.cpp @@ -9,6 +9,39 @@ #include "nocommands.h" +//********************************************************************************************************************** +vector NoCommand::getValidParameters(){ + try { + vector myArray; + return myArray; + } + catch(exception& e) { + m->errorOut(e, "NoCommand", "getValidParameters"); + exit(1); + } +} +//********************************************************************************************************************** +vector NoCommand::getRequiredParameters(){ + try { + vector myArray; + return myArray; + } + catch(exception& e) { + m->errorOut(e, "NoCommand", "getRequiredParameters"); + exit(1); + } +} +//********************************************************************************************************************** +vector NoCommand::getRequiredFiles(){ + try { + vector myArray; + return myArray; + } + catch(exception& e) { + m->errorOut(e, "NoCommand", "getRequiredFiles"); + exit(1); + } +} //********************************************************************************************************************** NoCommand::NoCommand(string option) {} @@ -22,8 +55,8 @@ NoCommand::~NoCommand(){} int NoCommand::execute(){ //Could choose to give more help here?fdsah cout << "Invalid command.\n"; - - CommandFactory* valid = CommandFactory::getInstance(); + + CommandFactory* valid = CommandFactory::getInstance(); valid->printCommands(cout); return 0;