pub fn parse_args<'a>(
allowed: &[&str],
args: &'a [(String, String)],
) -> Result<Vec<(&'a str, &'a str)>, CommandError>Expand description
The non-empty key=value args, each key allowed and given once. An empty
value means the key is not given.
ยงErrors
Returns an error for a key outside allowed or one given twice.