Fix inconsistency

This commit is contained in:
Bob Polis 2024-07-22 10:55:37 +02:00
parent 0f5a968f94
commit 06b8293bf8

View File

@ -131,7 +131,7 @@ int main(int argc, char* argv[]) {
case 'i': changes.emplace(change, arg); break;
case 'l': should_list = true; break;
case 's': sort = true; break;
case '?': throw std::runtime_error("unrecognized option");
case '?': throw std::runtime_error {"unrecognized option"};
}
}
if (optind == argc) {