From a8a52a2d4401f55a0a66a0564f789af4ed3cfe43 Mon Sep 17 00:00:00 2001 From: Adi Shavit Date: Fri, 8 Sep 2017 17:39:30 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d7622c4..980a1b7 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Any dashes are trimmed so are not required. Your flag can have several alternatives, just list them with `[{ "", "", ... }]`: ```cpp cout << "Verbose mode is " << ( cmdl[{ "-v", "--verbose" }] ? "ON" : "OFF" ) << endl; - ^^^^^^^^^^^^^^^^^^^^ + ^^^^^^^^^^^^^^^^^^^^^^^ ``` Beyond `bool` and `std::string` access with `[]`, as shown above, we can also access the argument values as an `std::istream`. This is very useful for type conversions.