gengetopt - Tool for generating a C function which parses command line arguments

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package name gengetopt
Package version 2.22.6
Package release 3
Package architecture amd64
Package type txz
Package license GPLv3+
Installed size 1.03 MB
Download size 211.90 KB
Official Mirror
This program generate a C function that uses getopt_long function to parse
the command line options, validate them and fill a struct.
Thus your program can now handle options such as:
myprog --input foo.c -o foo.o --no-tabs -i 100 *.class
And both long options (those that start with --) and short options (start
with - and consist of only one character) can be handled. For standards
about short and long options you may want to take a look at the GNU Coding
Categories: devel
- DOCS: on
===>   NOTICE:
The gengetopt port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
More information about port maintainership is available at:


Package Version Architecture Repository
gengetopt-2.22.6_3.txz 2.22.6 i386 FreeBSD Ports Latest
gengetopt-2.22.6_3.txz 2.22.6 amd64 FreeBSD Ports Quarterly
gengetopt-2.22.6_3.txz 2.22.6 i386 FreeBSD Ports Quarterly
gengetopt - - -


Name Value
indexinfo = 0.3.1


Type URL
Binary Package gengetopt-2.22.6_3.txz
Source Package devel/gengetopt

Install Howto

Install gengetopt txz package:

# pkg install gengetopt

See Also

Package Description
genius-1.0.23_1.txz Arbitrary precision calculator for Gnome Desktop Environment
genmenu-1.0.7_1.txz Generating menus for Bbox, Fbox, Obox, WM and E
genpatch-1.40_1.txz Single patch generator tool compatible with makepatch format
genplist-1.2.txz Generates a static plist for a port
genproto-0.4.1.txz Generates prototypes from C/C++ code
gensig-2.3_1.txz Random .signature generator
gentoo-0.20.7.txz Gtk+ based, file manager inspired by DirectoryOpus
geoapi-3.0.0.txz Java interface API based upon OGC Standards
geoclue-2.4.7.txz D-Bus service that provides location information
geocode-glib-3.26.0.txz Convenience library for the geocoding and reverse geocoding
geogebra-5.0.513.0.txz Dynamic software that joins geometry, algebra, and calculus
geogram-1.6.9_1.txz Programming library of geometric algorithms
geographiclib-1.49_1.txz Library for geographic projections
geoipupdate-4.0.2.txz Fetch the latest copies of the GeoIP2 databases
geomorph-0.60.1_10.txz Height field generator and editor