X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=setlogfilecommand.cpp;h=128c5671ed55712d2293e0b3c3959da17a7e9f05;hp=88c792c8b4b485bb8019a45fcac8c09f420511d6;hb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f;hpb=d4429ccc354708f3c9a13c809ba9b57c22908d2b diff --git a/setlogfilecommand.cpp b/setlogfilecommand.cpp index 88c792c..128c567 100644 --- a/setlogfilecommand.cpp +++ b/setlogfilecommand.cpp @@ -13,10 +13,10 @@ //********************************************************************************************************************** vector SetLogFileCommand::setParameters(){ try { - CommandParameter pappend("append", "Boolean", "", "F", "", "", "",false,false); parameters.push_back(pappend); - CommandParameter pname("name", "String", "", "", "", "", "",false,true); parameters.push_back(pname); - CommandParameter pinputdir("inputdir", "String", "", "", "", "", "",false,false); parameters.push_back(pinputdir); - CommandParameter poutputdir("outputdir", "String", "", "", "", "", "",false,false); parameters.push_back(poutputdir); + CommandParameter pappend("append", "Boolean", "", "F", "", "", "","",false,false); parameters.push_back(pappend); + CommandParameter pname("name", "String", "", "", "", "", "","",false,true,true); parameters.push_back(pname); + CommandParameter pinputdir("inputdir", "String", "", "", "", "", "","",false,false); parameters.push_back(pinputdir); + CommandParameter poutputdir("outputdir", "String", "", "", "", "", "","",false,false); parameters.push_back(poutputdir); vector myArray; for (int i = 0; i < parameters.size(); i++) { myArray.push_back(parameters[i].name); } @@ -51,6 +51,7 @@ SetLogFileCommand::SetLogFileCommand(string option) { //allow user to run help if(option == "help") { help(); abort = true; calledHelp = true; } + else if(option == "citation") { citation(); abort = true; calledHelp = true;} else { vector myArray = setParameters();