X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=setlogfilecommand.cpp;h=576a37c11a26a656d34a9af69972dc4c3a329233;hb=006601d68abe8d0061f77e8d28323b160750e343;hp=0a3dfc974f1d6ca45352b712efea37a2df02daf0;hpb=1d898dc6edaf9e9f287fab53bf1f21fb29757a17;p=mothur.git diff --git a/setlogfilecommand.cpp b/setlogfilecommand.cpp index 0a3dfc9..576a37c 100644 --- a/setlogfilecommand.cpp +++ b/setlogfilecommand.cpp @@ -51,11 +51,10 @@ 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 { - //valid paramters for this command - string Array[] = {"name","append","outputdir","inputdir"}; - vector myArray (Array, Array+(sizeof(Array)/sizeof(string))); + vector myArray = setParameters(); OptionParser parser(option); map parameters = parser.getParameters();