X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getgroupcommand.cpp;h=1190f49d41036c3d3034d8555544725014ee49f0;hp=b39fb645154f97252e7d928c9862cde01553ab6b;hb=220dc345e493cddc569521111ce32ac4d965ab7f;hpb=23e60689fa4306234b3d05b116f25d198316d1ae diff --git a/getgroupcommand.cpp b/getgroupcommand.cpp index b39fb64..1190f49 100644 --- a/getgroupcommand.cpp +++ b/getgroupcommand.cpp @@ -103,7 +103,7 @@ GetgroupCommand::GetgroupCommand(string option) { sharedfile = m->getSharedFile(); if (sharedfile != "") { m->mothurOut("Using " + sharedfile + " as input file for the shared parameter."); m->mothurOutEndLine(); } else { m->mothurOut("You have no current sharedfile and the shared parameter is required."); m->mothurOutEndLine(); abort = true; } - } + }else { m->setSharedFile(sharedfile); } //if the user changes the output directory command factory will send this info to us in the output parameter