]> git.donarmstrong.com Git - mothur.git/blobdiff - removelineagecommand.cpp
added citation function to commands
[mothur.git] / removelineagecommand.cpp
index 75e2a079396c92f9e4ad8fcd0596ae399b2868a5..22453a46078a7e99b33c07351722913fbb88f854 100644 (file)
@@ -84,11 +84,10 @@ RemoveLineageCommand::RemoveLineageCommand(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[] =  {"fasta","name", "group", "alignreport", "taxon", "dups", "list","taxonomy","outputdir","inputdir"};
-                       vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+                       vector<string> myArray = setParameters();       
                        
                        OptionParser parser(option);
                        map<string,string> parameters = parser.getParameters();