X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=nocommands.cpp;fp=nocommands.cpp;h=9ac565bd49088f594a03e30351279b4231d242ea;hb=0470f6d037aacb3563c3f7010708120a4a67d4e6;hp=974fce491c37f89d71ed8779d7d58f29a0eacc5e;hpb=bede5752eaeedb5a7e339439b6ba2f6670bca2b9;p=mothur.git diff --git a/nocommands.cpp b/nocommands.cpp index 974fce4..9ac565b 100644 --- a/nocommands.cpp +++ b/nocommands.cpp @@ -8,10 +8,11 @@ */ #include "nocommands.h" +#include "validcommands.h" //********************************************************************************************************************** -NoCommand::NoCommand(){} +NoCommand::NoCommand(string option){} //********************************************************************************************************************** @@ -22,7 +23,11 @@ NoCommand::~NoCommand(){} 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"; + + ValidCommands* valid = new ValidCommands(); + valid->printCommands(cout); + delete valid; + return 0; }