]> git.donarmstrong.com Git - mothur.git/blobdiff - setlogfilecommand.cpp
working on mgcluster count file change
[mothur.git] / setlogfilecommand.cpp
index 0a3dfc974f1d6ca45352b712efea37a2df02daf0..576a37c11a26a656d34a9af69972dc4c3a329233 100644 (file)
@@ -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<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+                       vector<string> myArray = setParameters();
                        
                        OptionParser parser(option);
                        map<string, string> parameters = parser.getParameters();