Update README.md

This commit is contained in:
Pranav Srinivas Kumar 2019-06-05 15:48:12 -04:00 committed by GitHub
parent 3ff61cce4b
commit 2125f34d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ int main(int argc, char *argv[]) {
.action([](const std::string& value) { return std::stoi(value); });
try {
program.parse_args({ "./main", "--help" });
program.parse_args(argc, argv);
}
catch (const std::runtime_error& err) {
std::cout << err.what() << std::endl;