Remove an extra space in arguments.hpp

This commit is contained in:
Username404-59 2021-10-05 08:43:34 +02:00
parent 1e7da048d4
commit 58f2d9cba7
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1

View File

@ -38,7 +38,7 @@ protected:
bool is(string_view str) override {
if (str.find_last_of('=') != string_view::npos && !str.empty()) {
if (values.empty()) isValid: return str.starts_with("--" + longVersion + '=');
for (const auto& value : values) {
for (const auto& value: values) {
if (str.ends_with(value.substr(1, value.size()))) {
goto isValid;
}