]> git.donarmstrong.com Git - mothur.git/blobdiff - nocommands.cpp
removed validcommands and put its checking in commandfactory.
[mothur.git] / nocommands.cpp
index 9ac565bd49088f594a03e30351279b4231d242ea..18a294801c961b7294bcf3985e733798cfe4d77a 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include "nocommands.h"
-#include "validcommands.h"
 
 //**********************************************************************************************************************
 
@@ -24,7 +23,7 @@ int NoCommand::execute(){
        //Could choose to give more help here?fdsah
        cout << "Invalid command." << "\n";
        
-       ValidCommands* valid = new ValidCommands();
+       CommandFactory* valid = new CommandFactory();
        valid->printCommands(cout);
        delete valid;