Skip to main content

validate_args

Function validate_args 

Source
pub fn validate_args(m: &ArgMatches) -> Result<(), String>
Expand description

Accepts no positional arguments: any positional argument fails with accepts 0 arg(s), received N, which does not echo the arguments; runs before anything else.