From 3733ce170fcfd24ece121b40473ef20111a98dec Mon Sep 17 00:00:00 2001 From: Pranav Srinivas Kumar Date: Mon, 1 Apr 2019 19:54:48 -0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: