Macro combu::flag[][src]

macro_rules! flag {
    ($name : ident =>
 [$type : ident, $(- $s : ident), *, $(- - $long : ident), *, = $description :
  expr, @ $default : expr]) => { ... };
    ($(@) ? $name : ident =>
 [$type : ident $(,) ? $(- $s : ident), * $(,) ? $(- - $long : ident), *, =
  $description : expr, $(@) ? $default : expr]) => { ... };
    ($(@) ? $name : ident =>
 [$type : ident $(,) ? $(- $s : ident), * $(,) ? $(- - $long : ident), *, =
  $description : expr, $(?) ? $default : expr]) => { ... };
    ($(@) ? $name : ident => { $($t : tt) + }) => { ... };
    ($(@) ? $name : ident => ($($t : tt) +)) => { ... };
    ($(@) ? $name : ident : $args : tt) => { ... };
    ($(@) ? $name : ident = $args : tt) => { ... };
    ($(@) ? $name : ident $args : tt) => { ... };
}
Expand description

Helps for creating flag.