X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=helpcommand.h;h=aedb7b5a626570f39f16d420ca7bd82a0034f740;hb=70491a12902e89b85cfa6b44a7b7fbe066ee2ac1;hp=f6a4aa38570aa047de43839895fc40d30e984fe7;hpb=de2dc9fb831f569b823031d0730f5a0d739e8290;p=mothur.git diff --git a/helpcommand.h b/helpcommand.h index f6a4aa3..aedb7b5 100644 --- a/helpcommand.h +++ b/helpcommand.h @@ -18,14 +18,24 @@ class HelpCommand : public Command { public: HelpCommand(string); - ~HelpCommand(); - int execute(); - void help() {}; + HelpCommand() {} + ~HelpCommand(){} + + 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; private: + CommandFactory* validCommands; + vector outputNames; };