Function argonaut::parse_plain
[−]
[src]
pub fn parse_plain<'def, 'tar, T, P: Into<String>>(
program: P,
args: &[T],
definitions: Vec<ArgDef<'def, 'tar>>
) -> Result<Option<i32>, ParseError<'def>> where
T: Borrow<str>,
Parses the given arguments and updates the defined variables with them. This version does not print usage in the case of parse errors, nor does it 'un-propagate' parsing errors.