1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-07 15:33:51 +00:00

Wrong function name.

`add_options` should be `add_option`.
This commit is contained in:
Mathias Soeken 2018-01-05 16:19:31 +01:00 committed by GitHub
parent 0243fda6ca
commit 0519a0989e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,10 +130,10 @@ The initialization is just one line, adding options is just two each. The parse
The supported values are:
```cpp
app.add_options(option_name,
variable_to_bind_to, // int, float, vector, or string-like
help_string="",
default=false)
app.add_option(option_name,
variable_to_bind_to, // int, float, vector, or string-like
help_string="",
default=false)
app.add_complex(... // Special case: support for complex numbers