From 657d98f3c3167fdc607dbf81a65c21b2ba8e941a Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Mon, 27 Feb 2023 21:15:34 +0100 Subject: [PATCH] args: better --offset description (#319) --- README.md | 3 ++- src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3562b38..575f6b6 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,8 @@ openFPGALoader -- a program to flash FPGA --list-cables list all supported cables --list-fpga list all supported FPGA -m, --write-sram write bitstream in SRAM (default: true) - -o, --offset arg start offset in EEPROM + -o, --offset arg Start address (in bytes) for read/write into + non volatile memory (default: 0) --pins arg pin config TDI:TDO:TCK:TMS --probe-firmware arg firmware for JTAG probe (usbBlasterII) --protect-flash arg protect SPI flash area diff --git a/src/main.cpp b/src/main.cpp index b68b71a..c85775d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -761,7 +761,7 @@ int parse_opt(int argc, char **argv, struct arguments *args, cxxopts::value(args->list_fpga)) ("m,write-sram", "write bitstream in SRAM (default: true)") - ("o,offset", "start offset in EEPROM", + ("o,offset", "Start address (in bytes) for read/write into non volatile memory (default: 0)", cxxopts::value(args->offset)) ("pins", "pin config TDI:TDO:TCK:TMS", cxxopts::value>(pins))