Macro gong::gong_shortopt

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

Construct a ShortOption

Takes:

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