5 * Created by Sarah Westcott on 1/2/09.
6 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10 #include "quitcommand.h"
12 //**********************************************************************************************************************
13 QuitCommand::QuitCommand(string option) {
14 abort = false; calledHelp = false;
16 //allow user to run help
17 if(option == "help") { help(); abort = true; calledHelp = true; }
18 else if(option == "citation") { citation(); abort = true; calledHelp = true;}
21 //**********************************************************************************************************************
22 QuitCommand::~QuitCommand(){}
23 //**********************************************************************************************************************
24 int QuitCommand::execute(){
25 if (abort == true) { return 0; }
28 //**********************************************************************************************************************