diff --git a/CHANGELOG.md b/CHANGELOG.md index 81f9b1af..d48f51c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- The CLI argument `save-image`, `ignore-app-descriptor` is now consistent with other args (#974) + ### Fixed - Corrected eFuse BLOCK0 definitions for ESP32-C2, ESP32-C3, and ESP32-S3 (#961) diff --git a/espflash/src/cli/mod.rs b/espflash/src/cli/mod.rs index ec833a2c..fa668c02 100644 --- a/espflash/src/cli/mod.rs +++ b/espflash/src/cli/mod.rs @@ -259,8 +259,8 @@ pub struct ImageArgs { #[arg(long, value_name = "MMU_PAGE_SIZE", value_parser = parse_u32)] pub mmu_page_size: Option, /// Skip checking whether the app descriptor is present in the image. - #[arg(long = "ignore_app_descriptor", default_value_t = true, action = clap::ArgAction::SetFalse)] - pub check_app_descriptor: bool, + #[arg(long = "ignore-app-descriptor", visible_alias ="ignore_app_descriptor",default_value_t = true, action = clap::ArgAction::SetFalse)] + pub check_app_descriptor: bool, // todo: remove ignore_app_descriptor alias before v5 } /// ESP-IDF image format arguments