X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=nocommands.h;h=a5855dced6a50c8a808464421ceb34dd6cd5aa24;hb=cbaa068e77aeb15bb06f0695a36d8f757977ed64;hp=2da23d931a1577fb25e93928a6720dffce60fbc9;hpb=0470f6d037aacb3563c3f7010708120a4a67d4e6;p=mothur.git diff --git a/nocommands.h b/nocommands.h index 2da23d9..a5855dc 100644 --- a/nocommands.h +++ b/nocommands.h @@ -12,16 +12,30 @@ /* This command is run if the user enters an invalid command. */ #include "command.hpp" +#include "commandfactory.hpp" class NoCommand : public Command { public: NoCommand(string); - ~NoCommand(); - int execute(); - void help() {} + NoCommand() {} + ~NoCommand(){} + + vector setParameters() { return outputNames; } //dummy, doesn't really do anything + string getCommandName() { return "NoCommand"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString() { return "No Command"; } + string getOutputFileNameTag(string, string) { return ""; } + string getCitation() { return "no citation"; } + string getDescription() { return "no description"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: + vector outputNames; };