diff --git a/README.md b/README.md index ba5c9ec..f67b85c 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,15 @@ Here's what's happening: - argv is further parsed to identify the inputs mapped to ```-c```. * Using ```-cab``` will throw an error since argparse expects two inputs for the argument ```-c```. +Notice how argparse is able to quietly and peacefully return an std::vector when asked for it. + +```cpp +auto c_vector = program.get>("-c"); +auto c_list = program.get>("-c"); +``` + +Both of these above statements will work. Argparse has specializations implemented for both ```std::vector``` and ```std::list```. + ## Examples ### Positional Arguments