[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [ANN] optparse 1.3 released
- From: "Gary V. Vaughan" <gary@...>
- Date: Sun, 17 Dec 2017 19:51:38 -0800
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.3 of optparse.
Optparse's home page is at https://github.com/gvvaughan/optparse, with
documentation at https://gvvaughan.github.io/optparse.
This was the option parser I originally wrote for Specl, and later
donated to lua-stdlib. Even though I’ve not yet completed the slimming
down of lua-stdlib in preparation for the next release, you can continue
to use optparse without requiring the installation of all of stdlib. In
contrast with v1.2, this release is built atop the `std.normalize` library.
This release also fixes another long standing bug.
Install it with LuaRocks, using:
luarocks install optparse 1.3
## Noteworthy changes in release 1.3 (2017-12-17) [stable]
### Bug fixes
- don't hang when help text has a bare '-' as the first
non-whitespace character on the line.
### Incompatible changes
- the implementation now depends upon and requires the luarocks
modules `std.normalize` and `std._debug`.