Closed DanRStevens closed 4 years ago
The documentation lists the following optional flags:
-H / --Help / -?: Displays help information. -Q / --Quiet: [Default false] Prevents application from issuing console messages. -O / --Overwrite: [Default false] Allows application to overwrite existing files. -D / --DestinationDirectory: [Default is ./]. Sets the destination directory for extracted file(s).
However, the -- variants do not work as advertised:
--
./OP2Archive --Help A valid command was not provided. Run without arguments to see usage message.
Instead, the commands work without the -- prefix:
./OP2Archive Help OP2Archive Ver 1.2.2 - Outpost 2 Archive Access and Maintenance ...
In src/ConsoleArgumentParser.cpp the check looks like:
src/ConsoleArgumentParser.cpp
if (commandStrUpper == "HELP" || commandStrUpper == "-?" || commandStrUpper == "-H") {
The documentation lists the following optional flags:
However, the
--
variants do not work as advertised:Instead, the commands work without the
--
prefix:In
src/ConsoleArgumentParser.cpp
the check looks like: