Releases: gvvaughan/optparse
[ANN] optparse 1.5 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.5 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 been unable to complete the slimming down of lua-stdlib in preparation for the next release, you can continue to use optparse without any of stdlib.
This release fixes another long standing bug.
Install it with LuaRocks, using:
luarocks install optparse 1.5
Noteworthy changes in release 1.5 (2022-07-30) [stable]
Bug fixes
-
The parser no longer shadows the internal
optparse.version
on_handlerby also saving the last word of the parsed
versiontextintooptparse.version.But, we don't want to break existing clients that use the content
of the savedoptparse.versionstring either. Since the
on_handlerwas never available to callers before due to being
shadowed, rename it tooptparse.showversion.
Incompatible changes
- For consistency with the renaming of
optparse.showversion,
similarly renameoptparse.helptooptparse.showhelp. For
backwards compatibility,optparse.helpcontinues to be available
too, but is now undocumented. Consider using theshowhelpin
your projects, especially if you also start usingshowversion.
[ANN] optparse 1.4 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.4 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.3, this release supports Lua 5.4, and no longer requires std.normalize and std.debug libraries to be installed for ease of deployment.
This release also fixes another long standing bug.
Install it with LuaRocks, using:
luarocks install optparse 1.4
Noteworthy changes in release 1.4 (2018-09-16) [stable]
New Features
-
Initial support for Lua 5.4.
-
No need to preinstall
std._debugandstd.normalizefor deployment,
of course without runtime checking. In development environments,
installedstd._debug,std.strictwill be loaded and used for
runtime checks as before.
Bug fixes
- Don't hang when option description text contains a '-' character.
[ANN] optparse 1.3 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.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.normalizeandstd._debug.
[ANN] optparse 1.2 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.2 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. 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.
[ANN] optparse 1.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.1 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. 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 accounts for the change of namespace with std.strict.
Install it with LuaRocks, using:
luarocks install optparse 1.1.1
Noteworthy changes in release 1.1.1 (2016-02-07) [stable]
Bug fixes
- Update for change in std.strict module path.
Incompatible changes
optparse._VERSIONis nowoptparse.versionfor consistency with other former stdlib modules.
[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_initmodule is loadable and has
_DEBUG.strictset tofalse, then don't try to load the standalone
strictmodule.
Bug fixes
- Uninstalled
std.debug_initis handled correctly. optparse._VERSIONis now documented properly.
Install it with LuaRocks, using:
luarocks install optparse 1.1[ANN] optparse 1.0.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.0.1 of optparse.
Optparse's home page is at http://gvvaughan.github.io/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 fixes a metatable propagation issue that prevented use of object methods on factory created parser objects.
Noteworthy changes in release 1.0.1 (2016-01-17) [stable]
Bug fixes
- Propagate metatable to parser factory output objects.
Install it with LuaRocks, using:
luarocks install optparse 1.0.1[ANN] optparse 1.0 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.0 of optparse.
Optparse's home page is at http://gvvaughan.github.io/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.
Noteworthy changes in release 1.0 (2016-01-17) [stable]
New features:
- initial standalone release.
Install it with LuaRocks, using:
luarocks install optparse 1.0