devel/lua-optparse: Add lua-optparse 3 In the common case, you can write the long-form help output typical of a modern command line program, and let this module generate a custom parser that collects and diagnoses the options it describes. The parser is actually an object instance which can then be tweaked for the uncommon case, by hand, or by using the "on" method to tie your custom handlers to options that are not handled quite the way you'd like. This is a pure Lua library compatible with LuaJIT, Lua 5.1, 5.2, 5.3, 5.4 and 5.5.327200dab8
Port details
devel/lua-optparse 3
Parse and process command-line options
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: lua51-optparse 3, lua52-optparse 3, lua53-optparse 3, lua54-optparse 3, lua55-optparse 3
- Upstream
- up to date
- Last update
- to 3 · 327200dab8
- Quarterly
- not in the 2026Q4 packages
- WWW
- https://luarocks.org/modules/gvvaughan/optparse
- CPE
- not set in the port, and none could be determined, and that does not mean none exists
- Links
- cgit · VuXML · Report wrong data
UPDATING
No entry in UPDATING affects this port.
Entries come from UPDATING in the ports tree. They are matched to a port through the AFFECTS line, which is free text, so an entry that names no port (“users of python”) or a port that no longer exists is not shown anywhere.
Install
- Package
# pkg install lua51-optparse# pkg install lua52-optparse# pkg install lua53-optparse# pkg install lua54-optparse# pkg install lua55-optparseinstalls lua51-optparse 3, lua52-optparse 3, lua53-optparse 3, lua54-optparse 3, lua55-optparse 3 fromlatest- Port
# cd /usr/ports/devel/lua-optparse && make install clean- Size
- 12 KiB download · 37 KiB installed
- License
- MIT
- Note
- Size, options and messages are those of lua51-optparse.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | ✗ | ✗ | – |
| FreeBSD 15 | ✗ | ✗ | – |
| FreeBSD 14 | ✗ | ✗ | 3 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | ✗ | ✗ | – |
| FreeBSD 14 | ✗ | ✗ | ✗ |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Dependencies
Depends on 5
- lang/lua51 5.1.5_10 2 unaddressed
- lang/lua52 5.2.4_1 1 unaddressed
- lang/lua53 5.3.6_1
- lang/lua54 5.4.8
- lang/lua55 5.5.1
Run and library dependencies of its 5 packages (flavors) on latest. Build dependencies are not in the package index.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 3.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.