Skip to main content

parse_flags

Function parse_flags 

Source
fn parse_flags(args: &[String]) -> HashMap<String, String>
Expand description

Parse --key value and --key=value into a map. Non-flag tokens are skipped; unrecognized flags are collected rather than rejected, so they simply match no pick(..) above (forward compatibility).