Skip to content
Snippets Groups Projects
Commit be7f1d66 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: 579: accept double dash inside filenames in applications

parent f6585154
No related branches found
No related tags found
No related merge requests found
......@@ -837,8 +837,8 @@ bool CommandLineLauncher::CheckUnicity()
bool CommandLineLauncher::CheckParametersPrefix()
{
bool res = true;
// Check if the chain "-" appears in the expression
if (m_Expression.find("--") != std::string::npos )
// Check if the chain " --" appears in the expression, could be a common mistake
if (m_Expression.find(" --") != std::string::npos )
{
res = false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment