From 066876a131372824beef3df06083a05d4b4d4ef9 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 14 Mar 2013 14:11:00 +0100 Subject: [PATCH] add str-list option support to decl command --- src/commands.cc | 2 ++ 1 file changed, 2 insertions(+) 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]);