Moved program_options add_options to a helper function to allow defaults to be set by derived class constructor before immutable options are created by parent

This commit is contained in:
Sean Hawkes
2021-09-18 04:55:50 -05:00
parent 20ca5c1361
commit f47e918caa
4 changed files with 14 additions and 3 deletions
+1
View File
@@ -35,6 +35,7 @@ struct IsolTestOptions: CommonOptions
std::string testFilter = std::string{};
IsolTestOptions(std::string* _editor);
void addOptions() override;
bool parse(int _argc, char const* const* _argv) override;
void validate() const override;
};