X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=setlogfilecommand.cpp;fp=setlogfilecommand.cpp;h=88c792c8b4b485bb8019a45fcac8c09f420511d6;hb=d4429ccc354708f3c9a13c809ba9b57c22908d2b;hp=0a3dfc974f1d6ca45352b712efea37a2df02daf0;hpb=1d898dc6edaf9e9f287fab53bf1f21fb29757a17;p=mothur.git diff --git a/setlogfilecommand.cpp b/setlogfilecommand.cpp index 0a3dfc9..88c792c 100644 --- a/setlogfilecommand.cpp +++ b/setlogfilecommand.cpp @@ -53,9 +53,7 @@ SetLogFileCommand::SetLogFileCommand(string option) { if(option == "help") { help(); 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();