diff --git a/src/commands.cc b/src/commands.cc index 93505450..5f1c1cf3 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -483,6 +483,8 @@ void declare_option(const CommandParameters& params, Context& context) opt = &GlobalOptions::instance().declare_option(params[1], ""); else if (params[0] == "int-list") opt = &GlobalOptions::instance().declare_option>(params[1], {}); + else if (params[0] == "str-list") + opt = &GlobalOptions::instance().declare_option>(params[1], {}); else throw runtime_error("unknown type " + params[0]);