View source code
Display the source code in std/getopt.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Enum std.getopt.config

Configuration options for getopt.

enum config : int { ... }

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

Enum members

bundling Turn bundling on
caseInsensitive Turn case sensitivity off (default)
caseSensitive Turn case sensitivity on
keepEndOfOptions Do not erase the endOfOptions separator from args
noBundling Turn bundling off (default)
noPassThrough Signal unrecognized arguments as errors (default)
passThrough Pass unrecognized arguments through
required Make the next option a required option
stopOnFirstNonOption Stop at first argument that does not look like an option


Andrei Alexandrescu


Boost License 1.0.