From a13f3bbfeb5975d82c6a8319670969f2cb39c32f Mon Sep 17 00:00:00 2001 From: Bodong YANG Date: Tue, 26 Dec 2023 05:54:14 +0000 Subject: [PATCH] update usage --- tools/images_packer/README.md | 2 +- tools/images_packer/__main__.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/images_packer/README.md b/tools/images_packer/README.md index e0be9e8db..a308c977b 100644 --- a/tools/images_packer/README.md +++ b/tools/images_packer/README.md @@ -191,7 +191,7 @@ optional arguments: -h, --help show this help message and exit --image :[:] OTA image for as tar archive(compressed or uncompressed), this option can be used multiple times to include multiple images. - NOTE: if multiple OTA target image is specified for the same ECU, the later one will override the previous set one. + NOTE: multiple OTA target image specified for the same ECU is unexpected behavior. -o , --output save the generated image bundle tar archive to . ``` diff --git a/tools/images_packer/__main__.py b/tools/images_packer/__main__.py index b03a3e34e..bd3f3f5ab 100644 --- a/tools/images_packer/__main__.py +++ b/tools/images_packer/__main__.py @@ -73,7 +73,7 @@ def main_build_offline_ota_image_bundle(args: argparse.Namespace): logger.error( ( f"ERR: OTA target image for ECU@{_ecu_id} is already set to" - f"from {image_files[_ecu_id]}, please check the params" + f"{image_files[_ecu_id]}, please check the --image params" ) ) sys.exit(errno.EINVAL) @@ -243,8 +243,7 @@ def command_build_offline_ota_image_bundle( help=( "OTA image for as tar archive(compressed or uncompressed), " "this option can be used multiple times to include multiple images. \n" - "NOTE: if multiple OTA target image is specified for the same ECU, the later one " - "will override the previous set one." + "NOTE: multiple OTA target image specified for the same ECU is unexpected behavior" ), required=True, metavar=":[:]",