diff --git a/src/CmdLineOptParser.cc b/src/CmdLineOptParser.cc index 5e237a766b7d6bc0a2c465d4872c808796676547..ac125d228342996993d7a3cf94543aad2a3fb621 100644 --- a/src/CmdLineOptParser.cc +++ b/src/CmdLineOptParser.cc @@ -39,13 +39,24 @@ void ParseCmdLineOptions(int& argc, ///< count of ar { // Start with all options off for (size_t iOption=0; iOption #include /// @brief Structure used to pass command line options to the ParseCmdLineOptions function. typedef struct { - const char* optionStr; ///< command line option, for example "--foo" - bool* flag; ///< if option is found this variable will be set to true + const char* optionStr; ///< command line option, for example "--foo" + bool* optionFound; ///< if option is found this variable will be set to true + QString optionArg; ///< Option has additional argument, form is option:arg } CmdLineOpt_t; void ParseCmdLineOptions(int& argc,