*/
#include "nocommands.h"
-#include "validcommands.h"
//**********************************************************************************************************************
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 = CommandFactory::getInstance();
valid->printCommands(cout);
- delete valid;
return 0;
}