This commit is contained in:
Parker L 2026-05-04 23:31:05 -06:00 committed by GitHub
commit 386a293c34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ openFPGALoader -- a program to flash FPGA
-X, --read-xadc Read XADC (Xilinx FPGA only)
--read-register arg Read Status Register(Xilinx FPGA only)
--user-flash arg User flash file (Gowin LittleBee FPGA only)
-V, --Version Print program version
-V, --Version, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

View File

@ -1027,7 +1027,7 @@ int parse_opt(int argc, char **argv, struct arguments *args,
cxxopts::value<std::string>(args->read_register))
("user-flash", "User flash file (Gowin LittleBee FPGA only)",
cxxopts::value<std::string>(args->user_flash))
("V,Version", "Print program version");
("V,Version,version", "Print program version");
options.parse_positional({"bitstream"});
auto result = options.parse(argc, argv);