]> git.donarmstrong.com Git - mothur.git/blob - quitcommand.cpp
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / quitcommand.cpp
1 /*
2  *  quitcommand.cpp
3  *  Dotur
4  *
5  *  Created by Sarah Westcott on 1/2/09.
6  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
7  *
8  */
9
10 #include "quitcommand.h"
11
12 //**********************************************************************************************************************
13 QuitCommand::QuitCommand(string option) {
14                 abort = false; calledHelp = false;   
15                 
16                 //allow user to run help
17                 if(option == "help") { help(); abort = true; calledHelp = true; }
18
19 }
20 //**********************************************************************************************************************
21 QuitCommand::~QuitCommand(){}
22 //**********************************************************************************************************************
23 int QuitCommand::execute(){
24         if (abort == true) { return 0; }
25         return 1;
26 }
27 //**********************************************************************************************************************