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; }
20 //**********************************************************************************************************************
21 QuitCommand::~QuitCommand(){}
22 //**********************************************************************************************************************
23 int QuitCommand::execute(){
24 if (abort == true) { return 0; }
27 //**********************************************************************************************************************