alt-getopt / alt-getopt / alt-getopt-0.7.0

Released by alt-getopt on 2009-10-18 at 08:35.

filesize
lua-alt-getopt-0.7.0.tar.gz4.6 KB
Notes:
  FIX: POSIX getopt("xo:") accepts './app -xoVVV' and './app -xo VVV'
  treating them as './app -x -o VVV'.
  Now Lua alt_getopt does the same.

  Additional regression tests/examples

  error() function is not used for exiting anymore.
  os.exit() is used instead.



Changes: * alt_getopt.lua, tests/test.out: Do not use error() for exiting, use os.exit() instead * alt_getopt, tests/test.out, tests/test.sh: Additional regression tests/examples * alt_getopt.lua, tests/test.out: POSIX getopt("xo:") accepts './app -xoVVV' and './app -xo VVV' treating them as './app -x -o VVV'. Now Lua alt_getopt does the same.