espflash
espflash copied to clipboard
Passing `--format esp-bootloader` doesn't work
❯ cargo espflash flash --format
error: The argument '--format <FORMAT>' requires a value but none was supplied
[possible values: esp-bootloader, direct-boot]
For more information try '--help'
❯ cargo espflash flash --format esp-bootloader
Error:
× Main thread panicked.
├─▶ at D:\Ryan\.cargo\registry\src\github.com-1ecc6299db9ec823\espflash-2.0.0-
│ rc.1\src\cli\mod.rs:117:32
╰─▶ called `Result::unwrap()` on an `Err` value: UnknownImageFormat("esp-bootloader")
help: set the `RUST_BACKTRACE=1` environment variable to display a backtrace.
❯ cargo espflash flash --format bootloader
error: 'bootloader' isn't a valid value for '--format <FORMAT>'
[possible values: esp-bootloader, direct-boot]
Did you mean 'esp-bootloader'?
For more information try '--help'