]> git.donarmstrong.com Git - mothur.git/blobdiff - nocommands.cpp
added sorted parameter to get.oturep, added error checking to chimera classes in...
[mothur.git] / nocommands.cpp
index 5cf5a56f8161da1fa81fa3c371900fb2d806b626..b519d77459e984020ba94a3331ba8851b076e0ae 100644 (file)
@@ -23,9 +23,8 @@ int NoCommand::execute(){
        //Could choose to give more help here?fdsah
        mothurOut("Invalid command.\n");
        
-       CommandFactory* valid = new CommandFactory();
+       CommandFactory* valid =  CommandFactory::getInstance();
        valid->printCommands(cout);
-       delete valid;
        
        return 0;
 }