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

Turns case sensitivity on

caseInsensitive

Turns case sensitivity off

bundling

Turns bundling on

noBundling

Turns bundling off

passThrough

Pass unrecognized arguments through

noPassThrough

Signal unrecognized arguments as errors

stopOnFirstNonOption

Stop at first argument that does not look like an option

keepEndOfOptions

Do not erase the endOfOptions separator from args

required

Makes the next option a required option

Meta