template <class TValue>
classkey_value_option : public base_option<TValue>;
Description
Single key->value option. Finds and parse option like key=value in argument list.
Example how to use: OdDAI::utils::argv_parser commandLineParser("some.exe"); OdString benchmarkFileName = "c:/default_file_name.bnc"; commandLineParser.add_param(std::make_shared>(benchmarkFileName, "-benchmark", "path to file benchmark, to compare. Does not used if empty."));
Example in args: some.exe ... -benchmark="c:/some_place/file_name.bnc" - [benchmarkFileName="c:/some_place/file_name.bnc"] some.exe ... - [benchmarkFileName="c:/default_file_name.bnc"]