Skip to main content

int_flag

Function int_flag 

Source
pub fn int_flag(
    long: &'static str,
    short: Option<char>,
    default: &'static str,
    help: &'static str,
) -> Arg
Expand description

An int flag: the value is an i64 with the base chosen by its prefix (0x, 0o, 0b, a leading 0 for octal, else decimal).