- /** Adds a configuration option with name, default value and description. */
- void add_option(const std::string &, const std::string &, const std::string &);
+ /** Adds a configuration option based on a feature. */
+ const Option &add_option(const Feature &);
+
+ bool set_option(const std::string &, const std::string &);
+
+ /** Checks whether an option exists. */
+ bool is_option(const std::string &) const;