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