Revert "ecore_getopt - handle if arg_val is null"
This completely breaks getopt. Try running terminology --help.
This reverts commit 1bb6a8a4e4
.
This commit is contained in:
parent
f35b5e35df
commit
41ec0da2aa
|
@ -1788,9 +1788,7 @@ _ecore_getopt_parse_arg_short(const Ecore_Getopt *parser,
|
|||
|
||||
desc_idx = desc - parser->descs;
|
||||
value = values + desc_idx;
|
||||
if (arg_val)
|
||||
ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
|
||||
else ret = EINA_FALSE;
|
||||
if ((!ret) && parser->strict)
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue