X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quitcommand.cpp;fp=quitcommand.cpp;h=8e6fd15412167f9b2ae26eec7b9d93a8e19c6bd2;hb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;hp=05e2758a2778505858283a450dbfb0b270cf77ca;hpb=a218321731df14d231bbc08e79906f757cf1540d;p=mothur.git diff --git a/quitcommand.cpp b/quitcommand.cpp index 05e2758..8e6fd15 100644 --- a/quitcommand.cpp +++ b/quitcommand.cpp @@ -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); } }