From aa25a2f3acc8eda57e0b392e5e59e9a69648531a Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Thu, 19 Oct 2023 13:09:11 +0800 Subject: [PATCH] Fix typos Found via `codespell -L seh` --- include/argparse/argparse.hpp | 2 +- test/doctest.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/argparse/argparse.hpp b/include/argparse/argparse.hpp index a779e014..37d56470 100644 --- a/include/argparse/argparse.hpp +++ b/include/argparse/argparse.hpp @@ -1324,7 +1324,7 @@ class ArgumentParser { } /* Indexing operator. Return a reference to an Argument object - * Used in conjuction with Argument.operator== e.g., parser["foo"] == true + * Used in conjunction with Argument.operator== e.g., parser["foo"] == true * @throws std::logic_error in case of an invalid argument name */ Argument &operator[](std::string_view arg_name) const { diff --git a/test/doctest.hpp b/test/doctest.hpp index d25f5268..3c987a41 100644 --- a/test/doctest.hpp +++ b/test/doctest.hpp @@ -146,7 +146,7 @@ // ================================================================================================= // both the header and the implementation suppress all of these, -// so it only makes sense to aggregrate them like so +// so it only makes sense to aggregate them like so #define DOCTEST_SUPPRESS_COMMON_WARNINGS_PUSH \ DOCTEST_CLANG_SUPPRESS_WARNING_PUSH \ DOCTEST_CLANG_SUPPRESS_WARNING("-Wunknown-pragmas") \