From 06b8293bf829783099e888282466ffbe6d5df2ad Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Mon, 22 Jul 2024 10:55:37 +0200 Subject: [PATCH] Fix inconsistency --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8626e71..4185ee0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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) {