config

Configuration options for getopt.

You can pass them to getopt in any position, except in between an option string and its bound pointer.

Values

ValueMeaning
caseSensitive

Turn case sensitivity on

caseInsensitive

Turn case sensitivity off (default)

bundling

Turn bundling on

noBundling

Turn bundling off (default)

passThrough

Pass unrecognized arguments through

noPassThrough

Signal unrecognized arguments as errors (default)

stopOnFirstNonOption

Stop at first argument that does not look like an option

keepEndOfOptions

Do not erase the endOfOptions separator from args

required

Make the next option a required option

Meta