./devel/lua-alt-getopt, getopt API for Lua similar to getopt_long(3) function

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2009Q3, Version: 0.6.0, Package name: lua-alt-getopt-0.6.0, Maintainer: cheusov

lua_altgetopt is a module for Lua programming language
for processing application's arguments the same way
BSD/GNU getopt_long(3) functions do.

Main features and goals:
1) compatibility to SUS "Utility Syntax Guidelines"
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02
guidelines 3-13.
2) This module is for plain Lua
2) No extra dependencies
3) No hooks, no functional tricks ;-)
4) Support for long options, e.g. compatibility with getopt_long(3) C
function
present in *BSD and GNU libc.
5) Long options may optionally have one-char synonym or other long synonym
6) Strict error checking (checks for an incorrect use of options)
7) alt_getopt.lua is a Lua module.


Required to run:
[lang/lua]

Master sites: (Expand)

SHA1: b9d8d18e714ab4804acfd3f27c1c88e12e0612ec
RMD160: b5e42c80d70baf97216fcb21ebcec127f83f71f8
Filesize: 4.231 KB

Version history: (Expand)