Update README.md

This commit is contained in:
Pranav Srinivas Kumar 2019-03-31 11:15:05 -04:00 committed by GitHub
parent fa6109961b
commit 9e1c0bbc2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ program.add_argument("-n", "--num_iterations")
program.parse_args({"./main", "-n", "36"}); program.parse_args({"./main", "-n", "36"});
std::string config = program.get("--config"); // config.json std::string config = program.get("--config"); // "config.json"
int num_iterations = program.get<int>("-n"); // 36 int num_iterations = program.get<int>("-n"); // 36
``` ```