]> git.donarmstrong.com Git - mothur.git/blobdiff - getgroupcommand.cpp
added parameter to chimera.uchime
[mothur.git] / getgroupcommand.cpp
index ce3cf73d28e455fd3b111f3a10b7e74ba7f67186..b39fb645154f97252e7d928c9862cde01553ab6b 100644 (file)
@@ -62,11 +62,10 @@ GetgroupCommand::GetgroupCommand(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[] =  {"outputdir","inputdir"};
-                       vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+                       vector<string> myArray = setParameters();
                        
                        OptionParser parser(option);
                        map<string,string> parameters = parser.getParameters();