projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5c125d
)
a small ecore_getopt bugfix
author
Daniel Kolesa
<quaker66@gmail.com>
Fri, 24 Jan 2014 10:12:41 +0000
(10:12 +0000)
committer
Daniel Kolesa
<quaker66@gmail.com>
Fri, 24 Jan 2014 10:12:41 +0000
(10:12 +0000)
src/lib/ecore/ecore_getopt.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore/ecore_getopt.c
b/src/lib/ecore/ecore_getopt.c
index
7a1505f
..
8c978f1
100644
(file)
--- a/
src/lib/ecore/ecore_getopt.c
+++ b/
src/lib/ecore/ecore_getopt.c
@@
-641,7
+641,8
@@
_ecore_getopt_help_desc_categories(FILE *fp,
/* do not print available categories if none available */
for (; !_ecore_getopt_desc_is_sentinel(desc); desc++)
- if (desc->action == ECORE_GETOPT_ACTION_CATEGORY) goto hascat;
+ if (desc->action == ECORE_GETOPT_ACTION_CATEGORY && desc->longname)
+ goto hascat;
return _ecore_getopt_help_line(fp, base, total, used,
_("No categories available."),