X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=command.hpp;fp=command.hpp;h=f65f6cc0fb14ab1d892dbcc5df567c086ca183c9;hb=5e031adc86a1fc125c4abb3d4048f209d52f9b6d;hp=2d1981aa4cca8d7e608e3708750fc079600d1265;hpb=f6c7165727bc17a5fbbcbb774d75ccffeb7f3da5;p=mothur.git diff --git a/command.hpp b/command.hpp index 2d1981a..f65f6cc 100644 --- a/command.hpp +++ b/command.hpp @@ -17,12 +17,11 @@ #include "optionparser.h" #include "validparameter.h" #include "mothurout.h" -#include "currentfile.h" class Command { public: - Command() { m = MothurOut::getInstance(); currentFiles = CurrentFile::getInstance(); } + Command() { m = MothurOut::getInstance(); } virtual vector getValidParameters() = 0; virtual vector getRequiredParameters() = 0; //adding "or" as the last element indicates one of the previous is needed virtual vector getRequiredFiles() = 0; //adding "or" as the last element indicates one of the previous is needed @@ -32,7 +31,7 @@ class Command { virtual ~Command() { } protected: MothurOut* m; - CurrentFile* currentFiles; + bool calledHelp; map >::iterator itTypes;