X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quitcommand.h;h=64958008deae4165e4a9019ddf93a0f44fd09f25;hb=ee8403d4eb5760187d62b42a9cf4272de8fc0ec4;hp=8b893064dc5fb243d4f63084242d4df346bd7587;hpb=0470f6d037aacb3563c3f7010708120a4a67d4e6;p=mothur.git diff --git a/quitcommand.h b/quitcommand.h index 8b89306..6495800 100644 --- a/quitcommand.h +++ b/quitcommand.h @@ -20,12 +20,23 @@ class QuitCommand : public Command { public: QuitCommand(string); + QuitCommand() {} ~QuitCommand(); - 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 getCitation() { return "no citation"; } + string getDescription() { return "quit"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: bool abort; + vector outputNames; }; #endif