]> git.donarmstrong.com Git - mothur.git/blobdiff - command.hpp
added sequence name to error string in fastq.info. Changed np_shannon to npshannon.
[mothur.git] / command.hpp
index 6a1a4deea6c1df252a627fa827bb33a8f49b439c..04285feff832088547c64a0f43da9c70dd7b1db5 100644 (file)
@@ -30,6 +30,7 @@ class Command {
                virtual string getCommandCategory() = 0;
                virtual string getHelpString() = 0;
                virtual string getCitation() = 0;
+               virtual string getDescription() = 0;
                
                virtual map<string, vector<string> > getOutputFiles() { return outputTypes; }
                virtual vector<string> setParameters() = 0; //to fill parameters
@@ -37,7 +38,7 @@ class Command {
        
                virtual int execute() = 0;
                virtual void help() = 0;
-               void citation() { m->mothurOut(getCitation()); }
+               void citation() { m->mothurOutEndLine(); m->mothurOut(getCitation()); m->mothurOutEndLine(); }
                virtual ~Command() { }
        
        protected: