{"added":"2026-11-09T22:09:55+08:00","apiVersion":1,"behindSince":null,"buildDepends":["devel/libedit","lang/lua51"],"categories":["devel"],"comment":"Parse and process command-line options","compare":null,"dependentCount":null,"description":"In the common case, you can write the long-form help output typical of a modern\ncommand line program, and let this module generate a custom parser that collects\nand diagnoses the options it describes.\n\nThe parser is actually an object instance which can then be tweaked for the\nuncommon case, by hand, or by using the \"on\" method to tie your custom handlers\nto options that are not handled quite the way you'd like.\n\nThis is a pure Lua library compatible with LuaJIT, Lua 5.1, 5.2, 5.3, 5.4 and\n5.5.","flavors":[{"comment":"Parse and process command-line options","pkgName":"lua52-optparse-3"},{"comment":"Parse and process command-line options","pkgName":"lua53-optparse-3"},{"comment":"Parse and process command-line options","pkgName":"lua54-optparse-3"},{"comment":"Parse and process command-line options","pkgName":"lua55-optparse-3"}],"html":"https://daemonports.org/devel/lua-optparse/","kind":"port","lastUpdate":"2026-11-09T22:09:55+08:00","license":["MIT"],"licenses":["MIT"],"maintainer":"sunpoet@FreeBSD.org","name":"lua51-optparse","newest":false,"newestVersion":null,"noVulnData":false,"origin":"devel/lua-optparse","otherSystems":[],"packages":[{"repo":"FreeBSD:14:latest","versions":["-","3","-","-","3"]},{"repo":"FreeBSD:14:quarterly","versions":["-","-","n/a","-","-"]},{"repo":"FreeBSD:15:latest","versions":["3","3","n/a","-","-"]},{"repo":"FreeBSD:15:quarterly","versions":["-","-","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:latest","versions":["-","3","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:quarterly","versions":["n/a","n/a","n/a","n/a","n/a"]}],"pkgName":"lua51-optparse-3","related":null,"repository":"FreeBSD ports","requiredBy":["devel/lua-stdlib"],"requiredByCount":1,"runDepends":["devel/libedit","lang/lua51"],"status":null,"system":"freebsd","systemLabel":"FreeBSD","version":"3","versions":[{"commit":"327200dab81de9ba9d302b2244d37123d295a946","date":"2026-11-09","version":"3"}],"vulnerabilities":null,"www":"https://luarocks.org/modules/gvvaughan/optparse"}
