mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-01 13:13:53 +00:00
commit
dff9da4c58
@ -130,10 +130,10 @@ The initialization is just one line, adding options is just two each. The parse
|
|||||||
The supported values are:
|
The supported values are:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
app.add_options(option_name,
|
app.add_option(option_name,
|
||||||
variable_to_bind_to, // int, float, vector, or string-like
|
variable_to_bind_to, // int, float, vector, or string-like
|
||||||
help_string="",
|
help_string="",
|
||||||
default=false)
|
default=false)
|
||||||
|
|
||||||
app.add_complex(... // Special case: support for complex numbers
|
app.add_complex(... // Special case: support for complex numbers
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user