diff --git a/src/commands.cc b/src/commands.cc index 4e62a65f..82d0cbc3 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -518,6 +518,8 @@ void declare_option(const CommandParameters& params, Context& context) if (params[0] == "int") opt = &GlobalOptions::instance().declare_option(params[1], 0); + if (params[0] == "bool") + opt = &GlobalOptions::instance().declare_option(params[1], 0); else if (params[0] == "str") opt = &GlobalOptions::instance().declare_option(params[1], ""); else if (params[0] == "regex")