We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b65f4 commit d478b6bCopy full SHA for d478b6b
flag.h
@@ -233,7 +233,8 @@ bool flag_parse(int argc, char **argv)
233
for (size_t i = 0; i < c->flags_count; ++i) {
234
bool is_name = strcmp(c->flags[i].name, flag) == 0;
235
bool is_alias = false;
236
- for (size_t j = 0; !is_alias && j < c->flags[i].alias_count; ++j) {
+ for (size_t j = 0;
237
+ !is_name && !is_alias && j < c->flags[i].alias_count; ++j) {
238
if (strcmp(c->flags[i].aliases[j], flag) == 0)
239
is_alias = true;
240
}
0 commit comments