Easy to use and powerful getopt implementation.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 24 Nov 2008 00:49:04 +0000 (00:49 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 24 Nov 2008 00:49:04 +0000 (00:49 +0000)
commit1c49cd516ee8ec1dc9ca8027ba1d8c8cf00466ed
tree333c49ab6e403e36f2b31fd07e7258483a5bb571
parent03794efc4a9037bfd64cc2f84dc8fe2c7893b5dd
Easy to use and powerful getopt implementation.

Create a parser description and give it the parameters, that's it. You
can store values (automatically converting types!), count occurrences,
make it true or false, create a list, choose from a list of items or
even specify your own callback to process arguments!

It was inspired by Python's optparse: http://www.python.org/doc/2.5.2/lib/module-optparse.html

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@37781 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore/Ecore_Getopt.h [new file with mode: 0644]
src/lib/ecore/Makefile.am
src/lib/ecore/ecore_getopt.c [new file with mode: 0644]