]> git.donarmstrong.com Git - mothur.git/blobdiff - nocommands.h
Revert to previous commit
[mothur.git] / nocommands.h
index b529392a890483eeb61b5346f6a59ef91add7d9a..5ed7e127d09ce645aa11cd43dd2192a1155b42dc 100644 (file)
 /* This command is run if the user enters an invalid command. */
 
 #include "command.hpp"
+#include "commandfactory.hpp"
 
 class NoCommand : public Command {
 
 public:
-       NoCommand();
-       ~NoCommand();
-       int execute();
+       NoCommand(string);
+       NoCommand() {}
+       ~NoCommand(){}
+       
+       vector<string> setParameters()  { return outputNames;   } //dummy, doesn't really do anything   
+       string getCommandName()                 { return "NoCommand";   }
+       string getCommandCategory()             { return "Hidden";              }
+       string getHelpString() { return "No Command"; } 
+       string getCitation() { return "no citation"; }
+       string getDescription()         { return "no description"; }
+
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
+       
        
 private:
+       vector<string> outputNames;
                
 };