//**********************************************************************************************************************
-NoCommand::NoCommand(){}
+NoCommand::NoCommand(string option){}
//**********************************************************************************************************************
int NoCommand::execute(){
//Could choose to give more help here?fdsah
- cout << "Invalid command." << "\n";
- cout << "For more information on command parameters use the help() command." << "\n";
+ mothurOut("Invalid command.\n");
+
+ CommandFactory* valid = new CommandFactory();
+ valid->printCommands(cout);
+ delete valid;
+
return 0;
}