macro_rules! get_int {
( $parser:ident, short, $tag:expr ) => { ... };
( $parser:ident, long, $tag:expr ) => { ... };
( $parser:ident, both, $short:expr, $long:expr ) => { ... };
}Expand description
Gets an argument from the parser, returning the contained value.
Panics if the argument doesn’t exist, or if the arguments type isn’t ArgType::Integer.