Macro gong::gong_shortopt
source · macro_rules! gong_shortopt {
( $ch:expr, $data:expr ) => { ... };
( $ch:expr ) => { ... };
}
Expand description
Construct a ShortOption
Takes:
- Option char
- Boolean indicating whether or not it takes a data arg (optional, defaults to false)