Commit bd49bc0f authored by Victor Poughon's avatar Victor Poughon
Browse files

DOC: fix default value formatting

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -231,7 +231,7 @@ def rst_parameter_flags(app, key): ...@@ -231,7 +231,7 @@ def rst_parameter_flags(app, key):
if app.IsMandatory(key) and not app.HasValue(key): if app.IsMandatory(key) and not app.HasValue(key):
return "*Mandatory* " return "*Mandatory* "
elif app.HasValue(key) and app.GetParameterType(key) != ParameterType_Group: 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: else:
return "" return ""
......
Supports Markdown
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