X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=quitcommand.h;h=9a6ea290748e6637162244e0d4790b594ee83b18;hp=f901b17083b54f059e2cb9eef6d020318c9d5cda;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281 diff --git a/quitcommand.h b/quitcommand.h index f901b17..9a6ea29 100644 --- a/quitcommand.h +++ b/quitcommand.h @@ -22,17 +22,22 @@ public: QuitCommand(string); QuitCommand() {} ~QuitCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + + vector setParameters() { return outputNames; } //dummy, doesn't really do anything + string getCommandName() { return "quit"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString() { return "The quit command will terminate mothur and should be in the following format: quit() or quit. \n"; } + string getOutputPattern(string) { return ""; } + string getCitation() { return "no citation"; } + string getDescription() { return "quit"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: bool abort; vector outputNames; - map > outputTypes; }; #endif