]> git.donarmstrong.com Git - mothur.git/blob - helpcommand.cpp
merged pat's trim seqs edits with sarah's major overhaul of global data; also added...
[mothur.git] / helpcommand.cpp
1 /*
2  *  helpcommand.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 "helpcommand.h"
11
12 //**********************************************************************************************************************
13
14 HelpCommand::HelpCommand(string option){
15         
16         if (option != "") { cout << "There are no valid parameters for the help() command." << endl;  } 
17         validCommands = new ValidCommands();
18 }
19
20 //**********************************************************************************************************************
21
22 HelpCommand::~HelpCommand(){}
23
24 //**********************************************************************************************************************
25
26 int HelpCommand::execute(){
27
28         validCommands->printCommands(cout);
29         cout << "For more information about a specific command type 'commandName(help)' i.e. 'read.dist(help)'" << endl;
30         
31         delete validCommands;
32         
33         cout << endl << "For further assistance please refer to the Mothur manual on our wiki at http://schloss.micro.umass.edu/mothur/, or contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
34         return 0;
35 }
36
37 //**********************************************************************************************************************/