Improve display of default string params with special chars
This commit is contained in:
parent
90a4f17910
commit
2c04964b93
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ def format_backend_help(api, formatter):
|
|||
doc = get_attribute_docstring(type(api.parameters), f.name).docstring_below
|
||||
if doc:
|
||||
doc += " "
|
||||
doc += f"(Default: {default})"
|
||||
doc += f"(Default: {default!r})"
|
||||
rows.append((f"-B {name}:{f.type.__name__.upper()}", doc))
|
||||
formatter.write_dl(rows)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue