Update README.md

This commit is contained in:
Pranav Srinivas Kumar 2019-04-01 19:56:25 -04:00 committed by GitHub
parent 082938e2cd
commit acd9e02d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ auto files = program.get<std::vector<std::string>>("--input_files"); // {"confi
auto files = program.get<std::list<std::string>>("--input_files"); // {"config.yml", "System.xml"} auto files = program.get<std::list<std::string>>("--input_files"); // {"config.yml", "System.xml"}
``` ```
Using ```.action```, one can quickly build a list of custom objects from command line arguments. Here's an example: Using ```.action```, one can quickly build a list of desired value types from command line arguments. Here's an example:
```cpp ```cpp
argparse::ArgumentParser program("main"); argparse::ArgumentParser program("main");