X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=nocommands.cpp;h=7df8edc351f2c9b799739832913b961c65726714;hb=3914b0d6480f67df53b1e838f51c4e6155710434;hp=b519d77459e984020ba94a3331ba8851b076e0ae;hpb=a5afca18544555fba2d9c3670ad1f8574916b0a0;p=mothur.git diff --git a/nocommands.cpp b/nocommands.cpp index b519d77..7df8edc 100644 --- a/nocommands.cpp +++ b/nocommands.cpp @@ -11,18 +11,14 @@ //********************************************************************************************************************** -NoCommand::NoCommand(string option){} - -//********************************************************************************************************************** - -NoCommand::~NoCommand(){} +NoCommand::NoCommand(string option) {} //********************************************************************************************************************** int NoCommand::execute(){ //Could choose to give more help here?fdsah - mothurOut("Invalid command.\n"); - + cout << "Invalid command.\n"; + CommandFactory* valid = CommandFactory::getInstance(); valid->printCommands(cout);