Skip to content

Commit

Permalink
main: In help output, show how to detect flash
Browse files Browse the repository at this point in the history
  • Loading branch information
UweBonnes committed Jun 20, 2024
1 parent a76aaac commit 53530f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ openFPGALoader -- a program to flash FPGA
--ftdi-serial arg FTDI chip serial number
--ftdi-channel arg FTDI chip channel number (channels 0-3 map to
A-D)
--detect detect FPGA
--detect detect FPGA, add -f to show connected flash
--dfu DFU mode
--dump-flash Dump flash mode
--bulk-erase Bulk erase flash
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ int parse_opt(int argc, char **argv, struct arguments *args,
("d,device", "device to use (/dev/ttyUSBx)",
cxxopts::value<string>(args->device))
#endif
("detect", "detect FPGA",
("detect", "detect FPGA, add -f to show connected flash",
cxxopts::value<bool>(args->detect))
("dfu", "DFU mode", cxxopts::value<bool>(args->dfu))
("dump-flash", "Dump flash mode")
Expand Down

0 comments on commit 53530f7

Please sign in to comment.