X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=helpcommand.h;h=31dbd2b9014ab27a150663a6eff56c63f2f98f8f;hb=dc383fb61b6d165a8d36e6108df8bc7129243ae6;hp=7a19ee66f1f747295e7b299c281f85e121edc26e;hpb=7bf581f8c46b08eb3bb40715dac94695edee4a67;p=mothur.git diff --git a/helpcommand.h b/helpcommand.h index 7a19ee6..31dbd2b 100644 --- a/helpcommand.h +++ b/helpcommand.h @@ -18,15 +18,24 @@ class HelpCommand : public Command { public: HelpCommand(string); - ~HelpCommand(); - int execute(); - void help() {}; + HelpCommand() {} + ~HelpCommand(){} -private: - CommandFactory* validCommands; + 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; + vector outputNames; };