X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=command.hpp;h=04285feff832088547c64a0f43da9c70dd7b1db5;hb=b3296231bac975d0c655bd62075909786a23e270;hp=6a1a4deea6c1df252a627fa827bb33a8f49b439c;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77;p=mothur.git diff --git a/command.hpp b/command.hpp index 6a1a4de..04285fe 100644 --- a/command.hpp +++ b/command.hpp @@ -30,6 +30,7 @@ class Command { virtual string getCommandCategory() = 0; virtual string getHelpString() = 0; virtual string getCitation() = 0; + virtual string getDescription() = 0; virtual map > getOutputFiles() { return outputTypes; } virtual vector 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: