Skip to content

Commit 53530f7

Browse files
committed
main: In help output, show how to detect flash
1 parent a76aaac commit 53530f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ openFPGALoader -- a program to flash FPGA
7171
--ftdi-serial arg FTDI chip serial number
7272
--ftdi-channel arg FTDI chip channel number (channels 0-3 map to
7373
A-D)
74-
--detect detect FPGA
74+
--detect detect FPGA, add -f to show connected flash
7575
--dfu DFU mode
7676
--dump-flash Dump flash mode
7777
--bulk-erase Bulk erase flash

src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ int parse_opt(int argc, char **argv, struct arguments *args,
763763
("d,device", "device to use (/dev/ttyUSBx)",
764764
cxxopts::value<string>(args->device))
765765
#endif
766-
("detect", "detect FPGA",
766+
("detect", "detect FPGA, add -f to show connected flash",
767767
cxxopts::value<bool>(args->detect))
768768
("dfu", "DFU mode", cxxopts::value<bool>(args->dfu))
769769
("dump-flash", "Dump flash mode")

0 commit comments

Comments
 (0)