The OpenD Programming Language

defaultGetoptFormatter

This function writes the passed text and Option into an output range in the manner described in the documentation of function defaultGetoptPrinter, unless the style option is used.

void
defaultGetoptFormatter
(
Output
)
(
Output output
,
string text
,,
string style = "%*s %*s%*s%s\n"
)

Parameters

output Output

The output range used to write the help information.

text string

The text to print at the beginning of the help output.

opt Option[]

The Option extracted from the getopt parameter.

style string

The manner in which to display the output of each Option.

Meta