View source code Display the source code in std/getopt.d from which this page was generated on github. 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. Page wiki View or edit the community-maintained wiki page associated with this page.

Enum std.getopt.config

Configuration options for getopt.

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

The enum base type is int .

Enum members

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

Authors

Andrei Alexandrescu

License

Boost License 1.0.

Comments