Module bdrck_params::option [] [src]

Structs

Option

An option is a non-positional parameter to a command. Options can either be normal options or flags. Normal options must be passed by name along with a value. Flags are options whose value is either true or false, and is false by default. Passing a flag by name means flipping its value to true.

Functions

find_option

Given an iterator over a collection of Options, locate the option with the given name (which can be either a short name or a long name). If no such Option is found, return None instead.