X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quitcommand.cpp;fp=quitcommand.cpp;h=0000000000000000000000000000000000000000;hb=4a877efa127e56e81a21f53cfdbbfd3bfbe8c4ff;hp=2c302e9e6b4f195c7d4acb1df97fd6110ea02ad5;hpb=a6cf29fa4dac0909c7582cb1094151d34093ee76;p=mothur.git diff --git a/quitcommand.cpp b/quitcommand.cpp deleted file mode 100644 index 2c302e9..0000000 --- a/quitcommand.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/* - * quitcommand.cpp - * Dotur - * - * Created by Sarah Westcott on 1/2/09. - * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. - * - */ - -#include "quitcommand.h" - -//********************************************************************************************************************** -QuitCommand::QuitCommand(string option) { - abort = false; calledHelp = false; - - //allow user to run help - if(option == "help") { help(); abort = true; calledHelp = true; } - else if(option == "citation") { citation(); abort = true; calledHelp = true;} - -} -//********************************************************************************************************************** -QuitCommand::~QuitCommand(){} -//********************************************************************************************************************** -int QuitCommand::execute(){ - if (abort == true) { return 0; } - return 1; -} -//**********************************************************************************************************************