Skip to content

Commit

Permalink
Fix for command line parser issue with multiple arguments with same t…
Browse files Browse the repository at this point in the history
…ype. (#574)

Signed-off-by: Alexander Wenzel <[email protected]>
  • Loading branch information
alexmucde authored Oct 25, 2024
1 parent 1e41b0d commit 6192e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qdlt/qdltoptmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ void QDltOptManager::parse(const QStringList& args)
}

if (m_parser.isSet("e")) {
postPluginCommands += m_parser.value("e");
postPluginCommands += m_parser.values("e");
commandline_mode = true;
}

if (m_parser.isSet("b")) {
prePluginCommands += m_parser.value("b");
prePluginCommands += m_parser.values("b");
commandline_mode = true;
}

Expand Down

0 comments on commit 6192e36

Please sign in to comment.