X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=quitcommand.h;h=9a6ea290748e6637162244e0d4790b594ee83b18;hp=c54e7f27abfaafcc791b6c0895209a6c7a96393d;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=20a2d0350a737a434c89f303662d64a8eeea7b05 diff --git a/quitcommand.h b/quitcommand.h index c54e7f2..9a6ea29 100644 --- a/quitcommand.h +++ b/quitcommand.h @@ -9,7 +9,6 @@ * */ -#include #include "command.hpp" /* The quit() command: @@ -20,11 +19,25 @@ class QuitCommand : public Command { public: - QuitCommand(); + QuitCommand(string); + QuitCommand() {} ~QuitCommand(); - int execute(); + + 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; }; -#endif \ No newline at end of file + +#endif