X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quitcommand.cpp;fp=quitcommand.cpp;h=85e8b526c455cfb5ee8c4ca50b64daec92dd6c24;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=462fe8fbf43e7f47a93ddefeb1058095cf636f86;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/quitcommand.cpp b/quitcommand.cpp index 462fe8f..85e8b52 100644 --- a/quitcommand.cpp +++ b/quitcommand.cpp @@ -10,40 +10,6 @@ #include "quitcommand.h" //********************************************************************************************************************** -vector QuitCommand::getValidParameters(){ - try { - vector myArray; - return myArray; - } - catch(exception& e) { - m->errorOut(e, "QuitCommand", "getValidParameters"); - exit(1); - } -} -//********************************************************************************************************************** -vector QuitCommand::getRequiredParameters(){ - try { - vector myArray; - return myArray; - } - catch(exception& e) { - m->errorOut(e, "QuitCommand", "getRequiredParameters"); - exit(1); - } -} -//********************************************************************************************************************** -vector QuitCommand::getRequiredFiles(){ - try { - vector myArray; - return myArray; - } - catch(exception& e) { - m->errorOut(e, "QuitCommand", "getRequiredFiles"); - exit(1); - } -} -//********************************************************************************************************************** - QuitCommand::QuitCommand(string option) { abort = false; calledHelp = false; @@ -52,27 +18,10 @@ QuitCommand::QuitCommand(string option) { } //********************************************************************************************************************** - -void QuitCommand::help(){ - try { - m->mothurOut("The quit command will terminate mothur and should be in the following format: \n"); - m->mothurOut("quit() or quit\n\n"); - } - catch(exception& e) { - m->errorOut(e, "QuitCommand", "help"); - exit(1); - } -} - -//********************************************************************************************************************** - QuitCommand::~QuitCommand(){} - //********************************************************************************************************************** - int QuitCommand::execute(){ if (abort == true) { return 0; } return 1; } - //**********************************************************************************************************************