]> git.donarmstrong.com Git - mothur.git/blobdiff - collectcommand.cpp
added citation function to commands
[mothur.git] / collectcommand.cpp
index 5549fd121dfca80e5cd4a406084f68803875dc58..952131436cdb111a142970f3310b4283a1be7123 100644 (file)
@@ -124,7 +124,8 @@ CollectCommand::CollectCommand(string option)  {
                allLines = 1;
                
                //allow user to run help
-               if(option == "help") { help(); abort = true; }
+               if(option == "help") { help(); calledHelp = true; abort = true; }
+               else if(option == "citation") { citation(); abort = true; calledHelp = true;}
                
                else {
                        vector<string> myArray = setParameters();