]> git.donarmstrong.com Git - mothur.git/blobdiff - helpcommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / helpcommand.h
index d4e7b1fda16a88f8e88a30a46ba70e50fe1ce290..4794a67a8ca3dc8ed542534070910385d549bd15 100644 (file)
@@ -19,21 +19,20 @@ class HelpCommand : public Command {
 public:
        HelpCommand(string);
        HelpCommand() {}
-       ~HelpCommand();
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();
-       void help() {};
+       ~HelpCommand(){}
        
-private:
-       CommandFactory* validCommands;
-       vector<string> outputNames;
-       map<string, vector<string> > outputTypes;
+       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;
+       vector<string> outputNames;     
                
 };