Skip to content

Commit

Permalink
feat: Update default value of mon_chip_rev
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Dec 21, 2023
1 parent 0cebe82 commit a23ebe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions espflash/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub struct FlashArgs {
#[arg(long, short = 'L', default_value = "serial", requires = "monitor")]
pub log_format: LogFormat,
/// Minimum chip revision supported by image, in format: major.minor
#[arg(long, default_value = "0", value_parser = parse_chip_rev)]
#[arg(long, default_value = "0.0", value_parser = parse_chip_rev)]
pub min_chip_rev: u16,
/// Open a serial monitor after flashing
#[arg(short = 'M', long)]
Expand Down Expand Up @@ -186,7 +186,7 @@ pub struct SaveImageArgs {
/// File name to save the generated image to
pub file: PathBuf,
/// Minimum chip revision supported by image, in format: major.minor
#[arg(long, default_value = "0", value_parser = parse_chip_rev)]
#[arg(long, default_value = "0.0", value_parser = parse_chip_rev)]
pub min_chip_rev: u16,
/// Boolean flag to merge binaries into single binary
#[arg(long)]
Expand Down

0 comments on commit a23ebe0

Please sign in to comment.