Skip to content
Snippets Groups Projects
Commit 49722223 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Merge branch 'default_val_samplevfn' into 'release-6.6'

Solve empty default value doc

See merge request !88
parents e5ff3a54 4663aaae
No related branches found
No related tags found
1 merge request!88Solve empty default value doc
......@@ -789,7 +789,13 @@ std::string CommandLineLauncher::DisplayParameterHelp(const Parameter::Pointer &
if(m_Application->HasValue(paramKey))
{
oss<<", default value is "<<m_Application->GetParameterAsString(paramKey);
if ( m_Application->GetParameterAsString(paramKey).empty() )
oss<<", no default value";
else
{
oss<<", default value is "
<<m_Application->GetParameterAsString(paramKey);
}
}
oss<<")";
}
......
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