]> git.donarmstrong.com Git - mothur.git/blobdiff - splitabundcommand.cpp
working on current change
[mothur.git] / splitabundcommand.cpp
index f7490f73b3411e9335ba21fa329e6a9b0fc63c0c..ba59dfe66e1b333f88317542e3a17844ac6d558e 100644 (file)
@@ -82,11 +82,9 @@ SplitAbundCommand::SplitAbundCommand(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","group","list","label","accnos","groups","fasta","cutoff","outputdir","inputdir"}; //
-                       vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+                       vector<string> myArray = setParameters();
                        
                        OptionParser parser(option);
                        map<string, string> parameters = parser.getParameters();