Function mozrunner::firefox_args::parse_args
source · pub fn parse_args<'a>(
args: impl Iterator<Item = &'a OsString>
) -> Vec<(Option<Arg>, Option<String>)>
Expand description
Parse an iterator over arguments into an vector of (name, value) tuples
Each entry in the input argument will produce a single item in the output. Because we don’t know anything about the specific arguments, something that doesn’t parse as a named argument may either be the value of a previous named argument, or may be a positional argument.