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

DOC: add no default value info

parent e40144f4
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 & ...@@ -789,7 +789,13 @@ std::string CommandLineLauncher::DisplayParameterHelp(const Parameter::Pointer &
if(m_Application->HasValue(paramKey)) 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<<")"; 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