Function getopts::getopts[src]
pub fn getopts(args: &[String], optgrps: &[OptGroup]) -> Result
Parse command line arguments according to the provided options.
On success returns Ok(Opt). Use methods such as opt_present
opt_str, etc. to interrogate results. Returns Err(Fail_) on
failure: use the Show implementation of Fail_ to display
information about it.