Skip to content

Commit b3f5b28

Browse files
authored
CLI: invert check_app_descriptor (#932)
* CLI: invert check_app_descriptor * Changelog
1 parent b993a42 commit b3f5b28

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
- Renamed `--check-app-descriptor` to `--ignore-app-descriptor` (#833)
15+
1416
### Fixed
1517

1618
### Removed

espflash/src/cli/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ pub struct ImageArgs {
257257
/// MMU page size.
258258
#[arg(long, value_name = "MMU_PAGE_SIZE", value_parser = parse_u32)]
259259
pub mmu_page_size: Option<u32>,
260-
/// Flag to check the app descriptor in bootloader
261-
#[arg(long, default_value = "true", value_parser = clap::value_parser!(bool))]
260+
/// Skip checking whether the app descriptor is present in the image.
261+
#[arg(long = "ignore_app_descriptor", default_value_t = true, action = clap::ArgAction::SetFalse)]
262262
pub check_app_descriptor: bool,
263263
}
264264

0 commit comments

Comments
 (0)