Skip to content

Commit 7d66f05

Browse files
authored
Update mod.rs
1 parent 48e165e commit 7d66f05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

espflash/src/cli/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ pub struct MonitorArgs {
268268
/// External log processors to use (comma separated executables)
269269
#[arg(long)]
270270
processors: Option<String>,
271+
/// Wait for the serial port to appear
272+
#[arg(long)]
273+
pub wait: bool,
271274
}
272275

273276
#[derive(Debug, Args)]
@@ -455,6 +458,7 @@ pub fn serial_monitor(args: MonitorArgs, config: &Config) -> Result<()> {
455458
!args.non_interactive,
456459
args.processors,
457460
args.elf,
461+
args.wait,
458462
)
459463
}
460464

0 commit comments

Comments
 (0)