diff --git a/README.md b/README.md index c0f4625..1bd891e 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ auto files = program.get>("--input_files"); // {"confi ```ArgumentParser.get()``` has specializations for ```std::vector``` and ```std::list```. So, the following variant, ```.get```, will also work. ```cpp -auto files = program.get>("--input_files"); // Works! files now has {"config.yml", "System.xml"} +auto files = program.get>("--input_files"); // Works! files = {"config.yml", "System.xml"} ``` Using ```.action```, one can quickly build a list of custom objects from command line arguments. Here's an example: