X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=helpcommand.h;h=31dbd2b9014ab27a150663a6eff56c63f2f98f8f;hb=49d2b7459c5027557564b21e9487dadafbbbdc96;hp=f6a4aa38570aa047de43839895fc40d30e984fe7;hpb=de2dc9fb831f569b823031d0730f5a0d739e8290;p=mothur.git diff --git a/helpcommand.h b/helpcommand.h index f6a4aa3..31dbd2b 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 getOutputFileNameTag(string, 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; };