Commit bd49bc0f authored by Victor Poughon's avatar Victor Poughon

DOC: fix default value formatting

parent fb2c517d
......@@ -231,7 +231,7 @@ def rst_parameter_flags(app, key):
if app.IsMandatory(key) and not app.HasValue(key):
return "*Mandatory* "
elif app.HasValue(key) and app.GetParameterType(key) != ParameterType_Group:
return "*Default value: {}* ".format(app.GetParameterValue(key))
return "*Default value: {}* ".format(app.GetParameterAsString(key)) # get value as string to use the same formatting as the c++ api
else:
return ""
......
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