5 * Created by Sarah Westcott on 1/2/09.
6 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10 #include "helpcommand.h"
12 //**********************************************************************************************************************
14 HelpCommand::HelpCommand(string option){
15 globaldata = GlobalData::getInstance();
17 if (option != "") { cout << "There are no valid parameters for the help() command." << endl; }
19 validCommands = new ValidCommands();
22 //**********************************************************************************************************************
24 HelpCommand::~HelpCommand(){}
26 //**********************************************************************************************************************
28 int HelpCommand::execute(){
30 validCommands->printCommands(cout);
31 cout << "For more information about a specific command type 'commandName(help)' i.e. 'read.dist(help)'" << endl;
35 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";
39 //**********************************************************************************************************************/