[][src]Macro gong::gong_shortopt

macro_rules! gong_shortopt {
    ( $ch:expr, $data:expr ) => { ... };
    ( $ch:expr ) => { ... };
}

Construct a ShortOption

Takes:

  1. Option char
  2. Boolean indicating whether or not it takes a data arg (optional, defaults to false)