Update README.md

This commit is contained in:
Blake-Madden 2023-11-23 06:59:47 -05:00 committed by GitHub
parent e1ed447463
commit 9478009d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ therefore, `-o false` does not work.
## `std::vector<T>` values ## `std::vector<T>` values
Parsing a list of values into a `std::vector<T>` is also supported, as long as `T` Parsing a list of values into a `std::vector<T>` is also supported, as long as `T`
can be parsed. To separate single values in a list the define `CXXOPTS_VECTOR_DELIMITER` can be parsed. To separate single values in a list the define symbol `CXXOPTS_VECTOR_DELIMITER`
is used, which is ',' by default. Ensure that you use no whitespaces between values because is used, which is ',' by default. Ensure that you use no whitespaces between values because
those would be interpreted as the next command line option. Example for a command line option those would be interpreted as the next command line option. Example for a command line option
that can be parsed as a `std::vector<double>`: that can be parsed as a `std::vector<double>`: