]> git.donarmstrong.com Git - mothur.git/blobdiff - getcommandinfocommand.cpp
fixed bug with trim.seqs allfiles=t
[mothur.git] / getcommandinfocommand.cpp
index 7ca245369136a19da6ec607d0055a1b0351d2cc7..283cd405eed10282df0ded886c616cb003b7847a 100644 (file)
@@ -45,6 +45,7 @@ GetCommandInfoCommand::GetCommandInfoCommand(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 {
                        vector<string> myArray = setParameters();
@@ -101,6 +102,7 @@ int GetCommandInfoCommand::execute(){
                                
                                //general info
                                out << "commandName=" << thisCommand->getCommandName() << endl;
+                               //cout << thisCommand->getCommandName() << " current citation = " << thisCommand->getCitation() << endl;
                                out << "commandCategory=" << thisCommand->getCommandCategory() << endl;
                                
                                //remove /n from help string since gui reads line by line