diff --git a/README.md b/README.md index c6c04bf..5197ee9 100644 --- a/README.md +++ b/README.md @@ -330,9 +330,9 @@ program.add_argument("input") return std::string{ "baz" }; }); -program.parse_args({ "./test", "fez" }); +program.parse_args(argc, argv); -auto input = program.get("input"); // baz +auto input = program.get("input"); std::cout << input << std::endl; ```