espflash icon indicating copy to clipboard operation
espflash copied to clipboard

Passing `--format esp-bootloader` doesn't work

Open TheButlah opened this issue 3 years ago • 0 comments

❯ 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'

TheButlah avatar Nov 20 '22 06:11 TheButlah