Skip to main content

strict_flag

Function strict_flag 

Source
pub fn strict_flag(cli: &Cli) -> Option<bool>
Expand description

Resolve the explicit --strict / --no-strict flag value the user supplied. Returns:

  • Some(true) if --strict was given
  • Some(false) if --no-strict was given
  • None if neither was given (mode resolution falls through to env / argv[0])