Skip to main content

parse_query_option

Function parse_query_option 

Source
pub fn parse_query_option(
    args: &[String],
    index: usize,
    options: &mut WrapperOptions,
) -> Result<usize, String>
Expand description

Parse one query/control option.

Returns the number of arguments consumed, or Ok(0) when args[index] is not a query/control option.