mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
Fix typos
Found via `codespell -L seh`
This commit is contained in:
parent
b0930ab028
commit
aa25a2f3ac
@ -1324,7 +1324,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Indexing operator. Return a reference to an Argument object
|
/* 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
|
* @throws std::logic_error in case of an invalid argument name
|
||||||
*/
|
*/
|
||||||
Argument &operator[](std::string_view arg_name) const {
|
Argument &operator[](std::string_view arg_name) const {
|
||||||
|
@ -146,7 +146,7 @@
|
|||||||
// =================================================================================================
|
// =================================================================================================
|
||||||
|
|
||||||
// both the header and the implementation suppress all of these,
|
// 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 \
|
#define DOCTEST_SUPPRESS_COMMON_WARNINGS_PUSH \
|
||||||
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH \
|
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH \
|
||||||
DOCTEST_CLANG_SUPPRESS_WARNING("-Wunknown-pragmas") \
|
DOCTEST_CLANG_SUPPRESS_WARNING("-Wunknown-pragmas") \
|
||||||
|
Loading…
Reference in New Issue
Block a user