Skip to main content

bool_flag

Function bool_flag 

Source
pub fn bool_flag(long: &'static str, default: bool, help: &'static str) -> Arg
Expand description

A bool flag: --b is true, --b=<v> takes a bool value (1 t T TRUE true True 0 f F FALSE false False); a value is never taken from the next argument.