diff --git a/README.md b/README.md index cc2d2c6..973b20e 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/main.cpp b/src/main.cpp index f6bdcb7..3990afb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1027,7 +1027,7 @@ int parse_opt(int argc, char **argv, struct arguments *args, cxxopts::value(args->read_register)) ("user-flash", "User flash file (Gowin LittleBee FPGA only)", cxxopts::value(args->user_flash)) - ("V,Version", "Print program version"); + ("V,Version,version", "Print program version"); options.parse_positional({"bitstream"}); auto result = options.parse(argc, argv);