X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/186fb2b18b89a0280b8cc4b5ea8f7a59d3bd0853..7766e753fefb962209f1898a234053f8c7bbe59d:/projects/sgconf/options.h diff --git a/projects/sgconf/options.h b/projects/sgconf/options.h index 6b33ee8c..53875091 100644 --- a/projects/sgconf/options.h +++ b/projects/sgconf/options.h @@ -107,6 +107,7 @@ class OPTION_BLOCKS public: OPTION_BLOCK & Add(const std::string & description) { m_blocks.push_back(OPTION_BLOCK(description)); return m_blocks.back(); } + void Add(const OPTION_BLOCK & block) { m_blocks.push_back(block); } void Help(size_t level) const; PARSER_STATE Parse(int argc, char ** argv);