mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 12:28:44 +00:00
commands/show: Remove individual headings from output
This commit is contained in:
parent
36309a4cf2
commit
9eca168c55
@ -87,17 +87,12 @@ def get_target_description(name):
|
|||||||
|
|
||||||
|
|
||||||
def get_rst_from_target(target):
|
def get_rst_from_target(target):
|
||||||
text = underline(target.name, '-')
|
text = underline(target.name, '~')
|
||||||
if hasattr(target, 'description'):
|
if hasattr(target, 'description'):
|
||||||
desc = strip_inlined_text(target.description or '')
|
desc = strip_inlined_text(target.description or '')
|
||||||
text += desc
|
text += desc
|
||||||
conn_params_rst = get_params_rst(target.conn_params)
|
text += underline('Device Parameters:', '-')
|
||||||
if conn_params_rst:
|
text += get_params_rst(target.conn_params)
|
||||||
text += underline('\nconnection parameters', '~') + conn_params_rst
|
text += get_params_rst(target.platform_params)
|
||||||
platform_params_rst = get_params_rst(target.platform_params)
|
text += get_params_rst(target.target_params)
|
||||||
if platform_params_rst:
|
|
||||||
text += underline('\nplatform parameters', '~') + platform_params_rst
|
|
||||||
target_params_rst = get_params_rst(target.target_params)
|
|
||||||
if target_params_rst:
|
|
||||||
text += underline('\nconnection parameters', '~') + target_params_rst
|
|
||||||
return text + '\n'
|
return text + '\n'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user