With these changes, when using the argument and specifying a --min-chip-rev greater that the chip revision you get:
Running `/home/sergio/Documents/Espressif/forks/espflash/target/release/espflash flash --min-chip-rev 5 esp32c3`
[2023-11-30T15:26:40Z INFO ] Serial port: '/dev/ttyACM0'
[2023-11-30T15:26:40Z INFO ] Connecting...
[2023-11-30T15:26:40Z INFO ] Using flash stub
[2023-11-30T15:26:40Z WARN ] Setting baud rate higher than 115,200 can cause issues
Error: espflash::unsupported_chip_revision
× Minimum supported revision is 5, connected device's revision is 3
With these changes, when using the argument and specifying a
--min-chip-rev
greater that the chip revision you get: