From 25c5555ace826099df0452acfeb2a88d945e4149 Mon Sep 17 00:00:00 2001 From: Nitin Kumar <59679977+lazysegtree@users.noreply.github.com> Date: Sat, 14 Mar 2026 23:02:49 +0530 Subject: [PATCH] fix: Fix typos --- include/cxxopts.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 4ebc7b4..560c1c7 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -586,7 +586,7 @@ class incorrect_argument_type : public parsing const std::string& message ) : parsing( - "Argument " + LQUOTE + arg + RQUOTE + " failed to parse becuause " + message + "Argument " + LQUOTE + arg + RQUOTE + " failed to parse because " + message ) { } @@ -1177,7 +1177,7 @@ fparse_with_exception(const std::string& text, T& value) } catch(const std::out_of_range&) { throw_or_mimic(text, "out of range"); } catch(const std::invalid_argument&) { - throw_or_mimic(text, "invalid arguement"); + throw_or_mimic(text, "invalid argument"); } }