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:
bdecee2
)
elua: support for return values in getopt help
author
Daniel Kolesa
<quaker66@gmail.com>
Tue, 29 Apr 2014 16:01:39 +0000
(17:01 +0100)
committer
Daniel Kolesa
<d.kolesa@samsung.com>
Tue, 10 Jun 2014 14:48:49 +0000
(15:48 +0100)
src/bin/elua/modules/getopt.lua
patch
|
blob
|
history
diff --git
a/src/bin/elua/modules/getopt.lua
b/src/bin/elua/modules/getopt.lua
index
1a1d64a
..
c4136a5
100644
(file)
--- a/
src/bin/elua/modules/getopt.lua
+++ b/
src/bin/elua/modules/getopt.lua
@@
-212,7
+212,9
@@
M.help = function(parser, category, f)
if not ret then
f:write(err, "\n\n")
help(parser, f)
+ return false, err
end
+ return true
end
M.geometry_parse_cb = function(desc, parser, v)