Skip to main content

parse_args_from_argv

Function parse_args_from_argv 

Source
pub fn parse_args_from_argv<'v, T>(
    argv: &[&'v OsStr],
) -> Result<T, Error<'static, 'v>>
where T: CommandArgs,
Expand description

Parse a full argv into a derived CommandArgs type, stripping argv0.

This is the full-argv counterpart to parse_args_from. The first element identifies the embedding command and is not parsed as one of its arguments.