]> git.donarmstrong.com Git - mothur.git/blobdiff - helpcommand.h
1.18.0 - fixed make.shared abort issue
[mothur.git] / helpcommand.h
index f6a4aa38570aa047de43839895fc40d30e984fe7..4794a67a8ca3dc8ed542534070910385d549bd15 100644 (file)
@@ -18,14 +18,21 @@ class HelpCommand : public Command {
        
 public:
        HelpCommand(string);
-       ~HelpCommand();
-       int execute();
-       void help() {};
+       HelpCommand() {}
+       ~HelpCommand(){}
+       
+       vector<string> setParameters()  { return outputNames;   } //dummy, doesn't really do anything   
+       string getCommandName()                 { return "help";                }
+       string getCommandCategory()             { return "General";             }
+       string getHelpString() { return "For more information about a specific command type 'commandName(help)' i.e. 'read.dist(help)'"; }      
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
        
-private:
-       CommandFactory* validCommands;
        
 private:
+       CommandFactory* validCommands;
+       vector<string> outputNames;     
                
 };