56 + number_of_captures = atoi(optarg);
Maybe replace with std::stoi(std::string(optarg));
Then it will throw if it can't parse a number.
« Back to merge proposal
56 + number_of_captures = atoi(optarg);
Maybe replace with std::string( optarg) );
std::stoi(
Then it will throw if it can't parse a number.