Skip to content

Commit 35fabf2

Browse files
author
Dane Slattery
committed
Change long form of save-image --ignore-app-descriptor
1 parent b01bb71 commit 35fabf2

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

espflash/src/cli/mod.rs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,8 @@ use crate::{
4242
},
4343
error::{Error, MissingPartition, MissingPartitionTable},
4444
flasher::{
45-
DeviceInfo,
46-
FLASH_SECTOR_SIZE,
47-
FlashData,
48-
FlashFrequency,
49-
FlashMode,
50-
FlashSettings,
51-
FlashSize,
52-
Flasher,
45+
DeviceInfo, FLASH_SECTOR_SIZE, FlashData, FlashFrequency, FlashMode, FlashSettings,
46+
FlashSize, Flasher,
5347
},
5448
image_format::{ImageFormat, ImageFormatKind, Metadata, idf::IdfBootloaderFormat},
5549
target::{Chip, ProgressCallbacks, XtalFrequency},
@@ -259,7 +253,7 @@ pub struct ImageArgs {
259253
#[arg(long, value_name = "MMU_PAGE_SIZE", value_parser = parse_u32)]
260254
pub mmu_page_size: Option<u32>,
261255
/// Skip checking whether the app descriptor is present in the image.
262-
#[arg(long = "ignore_app_descriptor", default_value_t = true, action = clap::ArgAction::SetFalse)]
256+
#[arg(long = "ignore-app-descriptor", default_value_t = true, action = clap::ArgAction::SetFalse)]
263257
pub check_app_descriptor: bool,
264258
}
265259

0 commit comments

Comments
 (0)