Skip to main content

check_flags

Function check_flags 

Source
pub fn check_flags() -> Vec<(String, &'static str)>
Expand description

The mods check’s flags as (name, kind) pairs, read straight from the clap grammar (via [crate::deps::flag_kinds]). The single source of truth behind the published docs/explain/mods.json schema (a test reconciles the two) and the valid-flags hint on a bad argument.