Update --extenions MO doc (#10782)
* update mo doc help * Apply suggestions from code review Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com> * Update tools/mo/openvino/tools/mo/utils/cli_parser.py Co-authored-by: Tatiana Savina <tatiana.savina@intel.com> Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com> Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
This commit is contained in:
parent
28889c4833
commit
93320f4fd6
|
|
@ -402,9 +402,11 @@ def get_common_cli_parser(parser: argparse.ArgumentParser = None):
|
|||
action=DeprecatedStoreTrue, default=False)
|
||||
# we use CanonicalizeDirCheckExistenceAction instead of readable_dirs to handle empty strings
|
||||
common_group.add_argument("--extensions",
|
||||
help="Directory or a comma separated list of directories with extensions. To disable all "
|
||||
"extensions including those that are placed at the default location, pass an empty "
|
||||
"string.",
|
||||
help="Paths or a comma-separated list of paths to libraries (.so or .dll) "
|
||||
"with extensions. For the legacy MO path (if `--use_legacy_frontend` is used), "
|
||||
"a directory or a comma-separated list of directories with extensions are supported. "
|
||||
"To disable all extensions including those that are placed at the default location, "
|
||||
"pass an empty string.",
|
||||
default=import_extensions.default_path(),
|
||||
action=CanonicalizePathCheckExistenceAction,
|
||||
type=readable_dirs_or_files_or_empty)
|
||||
|
|
|
|||
Loading…
Reference in New Issue