forked from enlightenment/efl
Revert "ecore_getopt - fix possible null arg"
Breaks getopt completely, try terminology --help.
You committing it again doesn't fix the fact it doesn't work. :)
This reverts commit e876ec527f
.
This commit is contained in:
parent
38147da036
commit
2f249a6436
|
@ -1708,9 +1708,7 @@ _ecore_getopt_parse_arg_long(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;
|
||||
ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
|
||||
if ((!ret) && parser->strict)
|
||||
return EINA_FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue