aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/utils
diff options
context:
space:
mode:
authorBenjamin Klimczak <benjamin.klimczak@arm.com>2022-12-23 17:26:09 +0000
committerBenjamin Klimczak <benjamin.klimczak@arm.com>2023-02-08 15:17:02 +0000
commit6fbcffb4ee039438a409fbc92e38fa5d1d118833 (patch)
tree9e2268059a6963201efc8b980d79104337155f2f /src/mlia/utils
parentc6cfc78d5245c550016b9709686d2b32ab3fcd5b (diff)
downloadmlia-6fbcffb4ee039438a409fbc92e38fa5d1d118833.tar.gz
MLIA-737 Show connection between target / backend
- The help text of MLIA now shows a table of supported targets, backends and advice. - The table is only shown with the help message and not when MLIA is run normally. Change-Id: I3234ce91e943de4b08b9471bd95a474df34755f7
Diffstat (limited to 'src/mlia/utils')
-rw-r--r--src/mlia/utils/console.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mlia/utils/console.py b/src/mlia/utils/console.py
index 1f428a7..57e3ba2 100644
--- a/src/mlia/utils/console.py
+++ b/src/mlia/utils/console.py
@@ -1,4 +1,4 @@
-# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+# SPDX-FileCopyrightText: Copyright 2022-2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
"""Console output utility functions."""
from __future__ import annotations
@@ -71,7 +71,7 @@ def _get_table(table_style: str) -> Table:
return Table(
show_header=False,
box=None,
- padding=(0, 1, 1, 0),
+ padding=(0, 1, 0, 0), # (top, right, bottom, left)
)
if table_style == "no_borders":