mirror of
https://github.com/CLIUtils/CLI11.git
synced 2026-01-19 04:52:08 +00:00
docs: fix typos in README (#1275)
This PR corrects minor typos in the README documentation.
This commit is contained in:
@@ -321,7 +321,7 @@ assigning it. Or using some variant type
|
||||
```cpp
|
||||
using vtype=std::variant<int, double, std::string>;
|
||||
vtype v1;
|
||||
app.add_option<vtype,std:string>("--vs",v1);
|
||||
app.add_option<vtype,std::string>("--vs",v1);
|
||||
app.add_option<vtype,int>("--vi",v1);
|
||||
app.add_option<vtype,double>("--vf",v1);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user