Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Change long form of save-image --ignore-app-descriptor
  • Loading branch information
Dane Slattery committed Nov 25, 2025
commit 35fabf278935aef78c59e33f8e65dbca97e16aee
12 changes: 3 additions & 9 deletions espflash/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,8 @@ use crate::{
},
error::{Error, MissingPartition, MissingPartitionTable},
flasher::{
DeviceInfo,
FLASH_SECTOR_SIZE,
FlashData,
FlashFrequency,
FlashMode,
FlashSettings,
FlashSize,
Flasher,
DeviceInfo, FLASH_SECTOR_SIZE, FlashData, FlashFrequency, FlashMode, FlashSettings,
FlashSize, Flasher,
},
image_format::{ImageFormat, ImageFormatKind, Metadata, idf::IdfBootloaderFormat},
target::{Chip, ProgressCallbacks, XtalFrequency},
Expand Down Expand Up @@ -259,7 +253,7 @@ pub struct ImageArgs {
#[arg(long, value_name = "MMU_PAGE_SIZE", value_parser = parse_u32)]
pub mmu_page_size: Option<u32>,
/// Skip checking whether the app descriptor is present in the image.
#[arg(long = "ignore_app_descriptor", default_value_t = true, action = clap::ArgAction::SetFalse)]
#[arg(long = "ignore-app-descriptor", default_value_t = true, action = clap::ArgAction::SetFalse)]
pub check_app_descriptor: bool,
}

Expand Down
Loading