[][src]Crate getopt

getopt

getopt provides a minimalistic, (essentially) POSIX-compliant option parser.

Modules

prelude

Getopt prelude

Structs

Error

A basic error type for getopt

Opt

A single option.

State

The current state of the parser.

Enums

ErrorKind

What kinds of errors getopt can return.

Functions

getopt

Returns the next option character, if any.

Type Definitions

Result

A specialized Result type for use with getopt