]> git.donarmstrong.com Git - mothur.git/blobdiff - nocommands.cpp
added stricter compilation requirements and fixed resulting errors
[mothur.git] / nocommands.cpp
index 9ac565bd49088f594a03e30351279b4231d242ea..5cf5a56f8161da1fa81fa3c371900fb2d806b626 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include "nocommands.h"
-#include "validcommands.h"
 
 //**********************************************************************************************************************
 
@@ -22,9 +21,9 @@ NoCommand::~NoCommand(){}
 
 int NoCommand::execute(){
        //Could choose to give more help here?fdsah
-       cout << "Invalid command." << "\n";
+       mothurOut("Invalid command.\n");
        
-       ValidCommands* valid = new ValidCommands();
+       CommandFactory* valid = new CommandFactory();
        valid->printCommands(cout);
        delete valid;