Skip to main content

parse_argv

Function parse_argv 

Source
pub fn parse_argv(argv: &[OsString]) -> Result<StrictArgs, StrictError>
Available on crate feature strict-compat only.
Expand description

Parse argv (NOT including argv[0]) into a StrictArgs. Stops at the first excluded/unknown flag and returns StrictError with the upstream-format diagnostic.