Skip to content

Commit

Permalink
feat: Remove some short version of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Feb 11, 2025
1 parent b1c8e4c commit d701f17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions espflash/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub struct ConnectArgs {
#[arg(short = 'c', long)]
pub chip: Option<Chip>,
/// Require confirmation before auto-connecting to a recognized device.
#[arg(short = 'C', long)]
#[arg(long)]
pub confirm_port: bool,
/// List all available ports.
#[arg(long)]
Expand Down Expand Up @@ -228,7 +228,7 @@ pub struct SaveImageArgs {
#[arg(long)]
pub merge: bool,
/// Don't pad the image to the flash size
#[arg(long, short = 'P', requires = "merge")]
#[arg(long, requires = "merge")]
pub skip_padding: bool,
/// Cristal frequency of the target
#[arg(long, short = 'x')]
Expand All @@ -245,7 +245,7 @@ pub struct ImageArgs {
#[arg(long, value_name = "FILE")]
pub bootloader: Option<PathBuf>,
/// Path to a CSV file containing partition table
#[arg(long, short = 'T', value_name = "FILE")]
#[arg(long, value_name = "FILE")]
pub partition_table: Option<PathBuf>,
/// Partition table offset
#[arg(long, value_name = "OFFSET", value_parser = parse_u32)]
Expand All @@ -266,7 +266,7 @@ pub struct MonitorArgs {
#[clap(flatten)]
connect_args: ConnectArgs,
/// ELF image to load the symbols from
#[arg(short = 'e', long, value_name = "FILE")]
#[arg(long, value_name = "FILE")]
image: Option<PathBuf>,
/// Avoids asking the user for interactions like resetting the device
#[arg(long)]
Expand Down

0 comments on commit d701f17

Please sign in to comment.