diff options
author | Dmitrii Agibov <dmitrii.agibov@arm.com> | 2023-01-27 09:12:50 +0000 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-02-08 15:25:11 +0000 |
commit | 3e3dcb9bd5abb88adcd85b4f89e8a81e7f6fa293 (patch) | |
tree | 020eee6abef093113de5b49c135c915c37173843 /src/mlia/cli/options.py | |
parent | 836efd40317a397761ec8b66e3f4398faac43ad0 (diff) | |
download | mlia-3e3dcb9bd5abb88adcd85b4f89e8a81e7f6fa293.tar.gz |
MLIA-595 Remove old backend configuration mechanism
- Remove old backend configuration code
- Install backends into directory ~/.mlia
- Rename targets/backends in registry to make it consistent
across codebase.
Change-Id: I9c8b012fe863280f1c692940c0dcad3ef638aaae
Diffstat (limited to 'src/mlia/cli/options.py')
-rw-r--r-- | src/mlia/cli/options.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mlia/cli/options.py b/src/mlia/cli/options.py index dac8c82..421533a 100644 --- a/src/mlia/cli/options.py +++ b/src/mlia/cli/options.py @@ -8,10 +8,10 @@ from pathlib import Path from typing import Any from typing import Callable +from mlia.backend.corstone import is_corstone_backend from mlia.cli.config import DEFAULT_CLUSTERING_TARGET from mlia.cli.config import DEFAULT_PRUNING_TARGET from mlia.cli.config import get_available_backends -from mlia.cli.config import is_corstone_backend from mlia.core.typing import OutputFormat from mlia.target.config import get_builtin_supported_profile_names @@ -47,12 +47,12 @@ def add_target_options( "--target-profile", required=required, default=default_target_profile, - help="Builtin target profile: {target_profiles}" - "or path to custom target profile" + help="Built-in target profile or path to the custom target profile. " + f"Built-in target profiles are {', '.join(target_profiles)}. " "Target profile that will set the target options " "such as target, mac value, memory mode, etc. " "For the values associated with each target profile " - "please refer to the documentation.", + "please refer to the documentation. ", ) |