[ANN] optparse 1.1 released
Automatically generate a custom command-line option parser from just the long-form help text for your program.
I am happy to announce release 1.1 of optparse.
Optparse's home page is at https://github.com/gvvaughan/optparse
This was the option parser I originally wrote for Specl, and later donated to lua-stdlib. I’m in the process of slimming down lua-stdlib in preparation for the next release though, part of which means that you can now use optparse without requiring the installation of all of stdlib.
This release tidies up interactions between optparse, and optional use of strict and of lua-stdlib's debug_init
module, so that they work properly with those modules in LUA_PATH
or not, in any combination.
Noteworthy changes in release 1.1 (2016-01-29) [stable]
New features
- If lua-stdlib's
std.debug_init
module is loadable and has
_DEBUG.strict
set tofalse
, then don't try to load the standalone
strict
module.
Bug fixes
- Uninstalled
std.debug_init
is handled correctly. optparse._VERSION
is now documented properly.
Install it with LuaRocks, using:
luarocks install optparse 1.1