From 53530f73160b46937814af252a95bbf67a875772 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Thu, 20 Jun 2024 16:21:40 +0200 Subject: [PATCH] main: In help output, show how to detect flash --- README.md | 2 +- src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 390f6b6..c5fe4df 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/main.cpp b/src/main.cpp index 28810d1..3b0b89c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -763,7 +763,7 @@ int parse_opt(int argc, char **argv, struct arguments *args, ("d,device", "device to use (/dev/ttyUSBx)", cxxopts::value(args->device)) #endif - ("detect", "detect FPGA", + ("detect", "detect FPGA, add -f to show connected flash", cxxopts::value(args->detect)) ("dfu", "DFU mode", cxxopts::value(args->dfu)) ("dump-flash", "Dump flash mode")