This was the option parser I originally wrote for Specl, and later
donated to lua-stdlib. I’m still slowly slimming down lua-stdlib in
preparation for the next release though, and you can continue to
optparse without requiring the installation of all of stdlib.
This release fixes some long standing bugs.
Install it with LuaRocks, using:
luarocks install optparse 1.2
## Noteworthy changes in release 1.2 (2017-06-03) [stable]
### Bug fixes
- don't crash when first unrecognized argument is also a handler
name (boolean, file, finished, flag, etc...)
- don't hang when help text option table formats long option name
on its own line before indented description.