]> git.donarmstrong.com Git - mothur.git/blobdiff - quitcommand.cpp
created mothurOut class to handle logfiles
[mothur.git] / quitcommand.cpp
index 05e2758a2778505858283a450dbfb0b270cf77ca..8e6fd15412167f9b2ae26eec7b9d93a8e19c6bd2 100644 (file)
@@ -11,7 +11,7 @@
 
 //**********************************************************************************************************************
 
-QuitCommand::QuitCommand(string option){
+QuitCommand::QuitCommand(string option) {
                abort = false;
                
                //allow user to run help
@@ -22,11 +22,11 @@ QuitCommand::QuitCommand(string option){
 
 void QuitCommand::help(){
        try {
-                mothurOut("The quit command will terminate mothur and should be in the following format: \n"); 
-                mothurOut("quit() or quit\n\n");
+                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) {
-               errorOut(e, "QuitCommand", "help");
+               m->errorOut(e, "QuitCommand", "help");
                exit(1);
        }
 }