Module extra::getopts::groups

A module which provides a way to specify descriptions and groups of short and long option names, together.

Structs

OptGroup

One group of options, e.g., both -h and --help, along with their shared description and properties.

Functions

getopts

Parse command line args with the provided long format options.

optflag

Create a long option that is optional and does not take an argument.

optflagmulti

Create a long option that can occur more than once and does not take an argument.

optflagopt

Create a long option that is optional and takes an optional argument.

optmulti

Create a long option that is optional, takes an argument, and may occur multiple times.

optopt

Create a long option that is optional and takes an argument.

reqopt

Create a long option that is required and takes an argument.

usage

Derive a usage message from a set of long options.