diff --git a/README.md b/README.md index 86ce2dd..c3dead6 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,9 @@ program.add_argument("--verbose", "-v") program.parse_args({ "./main", "--verbose" }); -auto a = program.get("--verbose"); // true +if (program["--verbose'] == true) { // true + // enable verbose logging +} ``` ### Compound Arguments