X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=helpcommand.h;h=aedb7b5a626570f39f16d420ca7bd82a0034f740;hb=3914b0d6480f67df53b1e838f51c4e6155710434;hp=d4e7b1fda16a88f8e88a30a46ba70e50fe1ce290;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/helpcommand.h b/helpcommand.h index d4e7b1f..aedb7b5 100644 --- a/helpcommand.h +++ b/helpcommand.h @@ -19,21 +19,23 @@ class HelpCommand : public Command { public: HelpCommand(string); HelpCommand() {} - ~HelpCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help() {}; + ~HelpCommand(){} -private: - CommandFactory* validCommands; - vector outputNames; - map > outputTypes; + vector setParameters() { return outputNames; } //dummy, doesn't really do anything + string getCommandName() { return "help"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString() { return "For more information about a specific command type 'commandName(help)' i.e. 'cluster(help)'"; } + string getOutputPattern(string) { return ""; } + string getCitation() { return "no citation"; } + string getDescription() { return "help"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: + CommandFactory* validCommands; + vector outputNames; };