Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
lua-optparse Parse and process command-line options
3 develnew! Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-11-09 14:24:25
Last Update: 2026-11-09 14:09:55
Commit Hash: 327200d
License: MIT
WWW:
https://luarocks.org/modules/gvvaughan/optparse
https://gvvaughan.github.io/optparse/
https://github.com/gvvaughan/optparse
Description: #
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.
HomepageHomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • lua54-optparse>0:devel/lua-optparse
To install the port: #
cd /usr/ports/devel/lua-optparse/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/lua-optparse
  • pkg install lua54-optparse
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lua54-optparse
Package flavors (<flavor>: <package>) #
  • lua54: lua54-optparse
  • lua55: lua55-optparse
  • lua53: lua53-optparse
  • lua52: lua52-optparse
  • lua51: lua51-optparse
distinfo: #
TIMESTAMP = 1793586984 SHA256 (gvvaughan-optparse-v3_GH0.tar.gz) = 6856f78357a699850f56572adef514efca877dde2ac8a831bdae48e56096c90d SIZE (gvvaughan-optparse-v3_GH0.tar.gz) = 33446

No package information for this port in our database #
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Library dependencies: #
  1. liblua-5.4.so : lang/lua54
This port is required by: #
for Run #
  1. devel/lua-stdlib

Configuration Options: #
No options to configure
Options name: #
devel_lua-optparse
USES: #
lua:module
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/gvvaughan/optparse/tar.gz/v3?dummy=/
Collapse this list.

Number of commits found: 1 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3
09 Nov 2026 14:09:55
commit hash: 327200dab81de9ba9d302b2244d37123d295a946commit hash: 327200dab81de9ba9d302b2244d37123d295a946commit hash: 327200dab81de9ba9d302b2244d37123d295a946commit hash: 327200dab81de9ba9d302b2244d37123d295a946 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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.

Number of commits found: 1