Default help text print function. Sends the text to stderr.writeln.
Parse the given arguments according to FUN's parameters, and call FUN. Throws GetOptException on errors.
Dispatch the command line to a type's static methods, according to the first parameter on the given command line (the "action"). String UDAs are used as usage documentation for generating --help output (or when no action is specified).
Constructs the funoptDispatch usage string.
Constructs a roff man page based on the funopt usage.
Constructs the funopt usage string.
Constructs the funopt usage format string. "%1$s" is used instead of the program name.
Performs line wrapping for option descriptions.
Specify this as the description to hide the option from --help output.
funopt configuration.
An option with a value (e.g. --tries N). The default placeholder depends on the type (N for numbers, STR for strings).
An ordered parameter.
An on/off switch (e.g. --verbose). Does not have a value, other than its presence.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Translate command-line parameters to a function signature, generating --help text automatically.