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){
17 if (option != "") { mothurOut("There are no valid parameters for the help() command."); mothurOutEndLine(); }
19 validCommands = new CommandFactory();
22 //**********************************************************************************************************************
24 HelpCommand::~HelpCommand(){}
26 //**********************************************************************************************************************
28 int HelpCommand::execute(){
30 validCommands->printCommands(cout);
31 mothurOut("For more information about a specific command type 'commandName(help)' i.e. 'read.dist(help)'"); mothurOutEndLine();
35 mothurOutEndLine(); mothurOut("For further assistance please refer to the Mothur manual on our wiki at http://www.mothur.org/wiki, or contact Pat Schloss at pschloss@umich.edu.\n");
39 //**********************************************************************************************************************/