diff --git a/application_base.cpp b/application_base.cpp index 4f0fcb9..8d0292f 100644 --- a/application_base.cpp +++ b/application_base.cpp @@ -402,8 +402,10 @@ bool application_base::initialize_impl(int argc, char** argv, vector names; boost::split(names, arg, boost::is_any_of(" \t,")); - for(const std::string& name : names) + for(const std::string& name : names) { + plugin_name = name; get_plugin(name).initialize(options); + } } }