]> git.donarmstrong.com Git - mothur.git/blobdiff - quitcommand.h
added modify names parameter to set.dir
[mothur.git] / quitcommand.h
index 7f7b7e23d85ff47db1d60d81d1e1406534eee0ec..9a6ea290748e6637162244e0d4790b594ee83b18 100644 (file)
 class QuitCommand : public Command {
        
 public:
-       QuitCommand();
+       QuitCommand(string);
+       QuitCommand() {}
        ~QuitCommand();
-       int execute();
+       
+       vector<string> 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<string> outputNames;
 };
 
 #endif