X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=removeotuscommand.cpp;fp=removeotuscommand.cpp;h=347bb0870f3fde2ab71c86c5b67918fad4a4904c;hb=c69e2e9749626cfbf1d6cb0125ae94f869e00b18;hp=1a7d3bd8eb5c1a876e6edc6282418dd2d1ce3b30;hpb=c887ae6cd9f1c5b6e1b73a1384f154392be4efa3;p=mothur.git diff --git a/removeotuscommand.cpp b/removeotuscommand.cpp index 1a7d3bd..347bb08 100644 --- a/removeotuscommand.cpp +++ b/removeotuscommand.cpp @@ -27,8 +27,7 @@ vector RemoveOtusCommand::getValidParameters(){ //********************************************************************************************************************** RemoveOtusCommand::RemoveOtusCommand(){ try { - abort = true; - //initialize outputTypes + abort = true; calledHelp = true; vector tempOutNames; outputTypes["group"] = tempOutNames; outputTypes["list"] = tempOutNames; @@ -64,10 +63,10 @@ vector RemoveOtusCommand::getRequiredFiles(){ //********************************************************************************************************************** RemoveOtusCommand::RemoveOtusCommand(string option) { try { - abort = false; + abort = false; calledHelp = false; //allow user to run help - if(option == "help") { help(); abort = true; } + if(option == "help") { help(); abort = true; calledHelp = true; } else { //valid paramters for this command @@ -182,7 +181,7 @@ void RemoveOtusCommand::help(){ int RemoveOtusCommand::execute(){ try { - if (abort == true) { return 0; } + if (abort == true) { if (calledHelp) { return 0; } return 2; } groupMap = new GroupMap(groupfile); groupMap->readMap();