flag

Function flag 

Source
pub fn flag(args: &[String], name: &str) -> bool
Expand description

Return true if a boolean flag is present or set to true. Matches --flag, --flag=true, --flag=1, --flag=yes (case-insensitive).