foo
This commit is contained in:
@@ -65,6 +65,8 @@ void cmdline_parse(const char* cmdline) {
|
||||
while (opt < __ld_cmdline_end) {
|
||||
const struct cmdline_option* current = *opt;
|
||||
if (!strcmp(current->name, name)) {
|
||||
if (value == nullptr)
|
||||
break;
|
||||
switch (current->option_type) {
|
||||
case CMDLINE_STRING:
|
||||
current->func_str(value);
|
||||
|
||||
Reference in New Issue
Block a user