Function is_valid_flag

Source
pub fn is_valid_flag(arg: &str, available_flags: &[&Flag<'_>]) -> bool
Expand description

Checks whether an input argument is a valid flag