Commit ab592ac7 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'feature_plugincommandlineoptions' into 'master'

Feature plugincommandlineoptions

See merge request !142
parents e35e0232 b1e76344
......@@ -464,6 +464,11 @@ CommandLineParseResult parseCommandLine(QCommandLineParser &parser, QString *err
for(auto s : poptions)
{
auto kvp = s.split("=");
// Only consider terms of the kind "key=value"
if(kvp.size() != 2u)
continue;
auto key = kvp[0];
auto value = kvp[1];
pcloptions.push_back({key, value});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment