Remove an extra space in arguments.hpp
This commit is contained in:
parent
1e7da048d4
commit
58f2d9cba7
@ -38,7 +38,7 @@ protected:
|
|||||||
bool is(string_view str) override {
|
bool is(string_view str) override {
|
||||||
if (str.find_last_of('=') != string_view::npos && !str.empty()) {
|
if (str.find_last_of('=') != string_view::npos && !str.empty()) {
|
||||||
if (values.empty()) isValid: return str.starts_with("--" + longVersion + '=');
|
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()))) {
|
if (str.ends_with(value.substr(1, value.size()))) {
|
||||||
goto isValid;
|
goto isValid;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user