Commit 14e46f99 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

fixed option --operators displaying wrong description lines

parent e6ac07ef
......@@ -650,7 +650,7 @@ get_operator_description(const std::string &p_current_op_name, const std::vector
line = help.at(++operator_section);
}
// if operator line found save description for later use
if (!line.empty() && line.find(p_current_op_name + " ") != std::string::npos)
if (!line.empty() && line.find(" " + p_current_op_name + " ") != std::string::npos)
{
auto op_name_start = line.find_first_not_of(" \t");
......
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