Update README.md

This commit is contained in:
Pranav Srinivas Kumar 2019-04-09 07:46:47 -04:00 committed by GitHub
parent 29f0c52f5f
commit bc4eddc138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
```