]> git.donarmstrong.com Git - mothur.git/blobdiff - quitcommand.cpp
fixed mpi version compile issue with chimera.slayer
[mothur.git] / quitcommand.cpp
index 8e6fd15412167f9b2ae26eec7b9d93a8e19c6bd2..462fe8fbf43e7f47a93ddefeb1058095cf636f86 100644 (file)
@@ -9,13 +9,46 @@
 
 #include "quitcommand.h"
 
+//**********************************************************************************************************************
+vector<string> QuitCommand::getValidParameters(){      
+       try {
+               vector<string> myArray; 
+               return myArray;
+       }
+       catch(exception& e) {
+               m->errorOut(e, "QuitCommand", "getValidParameters");
+               exit(1);
+       }
+}
+//**********************************************************************************************************************
+vector<string> QuitCommand::getRequiredParameters(){   
+       try {
+               vector<string> myArray;
+               return myArray;
+       }
+       catch(exception& e) {
+               m->errorOut(e, "QuitCommand", "getRequiredParameters");
+               exit(1);
+       }
+}
+//**********************************************************************************************************************
+vector<string> QuitCommand::getRequiredFiles(){        
+       try {
+               vector<string> myArray;
+               return myArray;
+       }
+       catch(exception& e) {
+               m->errorOut(e, "QuitCommand", "getRequiredFiles");
+               exit(1);
+       }
+}
 //**********************************************************************************************************************
 
 QuitCommand::QuitCommand(string option) {
-               abort = false;
+               abort = false; calledHelp = false;   
                
                //allow user to run help
-               if(option == "help") { help(); abort = true; }
+               if(option == "help") { help(); abort = true; calledHelp = true; }
 
 }
 //**********************************************************************************************************************