We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b34e61 commit a09ba95Copy full SHA for a09ba95
espflash/src/main.rs
@@ -68,10 +68,7 @@ fn main() -> Result<()> {
68
let mut opts = Opts::parse();
69
let config = Config::load()?;
70
71
- if !matches!(
72
- opts.subcommand,
73
- Some(SubCommand::BoardInfo(..) | SubCommand::PartitionTable(..)),
74
- ) {
+ if opts.subcommand.is_none() {
75
// If neither the IMAGE nor SERIAL arguments have been provided, print the
76
// help message and exit.
77
if opts.image.is_none() && opts.connect_opts.serial.is_none() {
0 commit comments