mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
show command: minor fix to parameter rendering
Make sure default of 'False' is reported for boolean values.
This commit is contained in:
parent
bf189dbe6a
commit
5cfecf8068
@ -98,7 +98,7 @@ def format_extension_parameters(extension, out, width, shift=4):
|
||||
param_text += indent('allowed values: {}\n'.format(', '.join(map(str, param.allowed_values))))
|
||||
elif param.constraint:
|
||||
param_text += indent('constraint: {}\n'.format(get_type_name(param.constraint)))
|
||||
if param.default:
|
||||
if param.default is not None:
|
||||
param_text += indent('default: {}\n'.format(param.default))
|
||||
param_texts.append(indent(param_text, shift))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user