Function mozrunner::firefox_args::get_arg_value
source · pub fn get_arg_value<'a>(
parsed_args: impl Iterator<Item = &'a (Option<Arg>, Option<String>)>,
arg: Arg
) -> Option<String>
Expand description
Given an iterator over all arguments, get the value of an argument
This assumes that the argument takes a single value and that is
either provided as a single argument entry
(e.g. ["--name=value"]
) or as the following argument
(e.g. `[“–name”, “value”])