diff --git a/espflash/src/cli/mod.rs b/espflash/src/cli/mod.rs index d64b1f1f..e9d86c6b 100644 --- a/espflash/src/cli/mod.rs +++ b/espflash/src/cli/mod.rs @@ -71,7 +71,7 @@ pub struct ConnectArgs { #[arg(short = 'c', long)] pub chip: Option, /// 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)] @@ -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')] @@ -245,7 +245,7 @@ pub struct ImageArgs { #[arg(long, value_name = "FILE")] pub bootloader: Option, /// Path to a CSV file containing partition table - #[arg(long, short = 'T', value_name = "FILE")] + #[arg(long, value_name = "FILE")] pub partition_table: Option, /// Partition table offset #[arg(long, value_name = "OFFSET", value_parser = parse_u32)] @@ -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, /// Avoids asking the user for interactions like resetting the device #[arg(long)]