X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=nocommands.cpp;h=7df8edc351f2c9b799739832913b961c65726714;hp=eab873ba1eec6bc6a01b748f4ce6b441c9e1f4f1;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281 diff --git a/nocommands.cpp b/nocommands.cpp index eab873b..7df8edc 100644 --- a/nocommands.cpp +++ b/nocommands.cpp @@ -9,54 +9,17 @@ #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) {} //********************************************************************************************************************** -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;